Skip to content

Conversation

AlexAPPi
Copy link
Contributor

When adding a fixed step, it is very useful to obtain the precise position and rotation of the Rigidbody to ensure accurate and predictable object behavior in the physics simulation.

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

@Maksims
Copy link
Collaborator

Maksims commented Jun 12, 2025

Shouldn't the Entity have the right position and rotation if it has a rigid body?

@AlexAPPi
Copy link
Contributor Author

Shouldn't the Entity have the right position and rotation if it has a rigid body?

For an Entity, the position and rotation are typically represented as interpolated values of the actual positions multiplied by the respective velocities, which is useful for smooth animations and visualization. However, in some cases, it is necessary to obtain precise, non-interpolated values of position and linear velocity to ensure accurate physics calculations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants