heron icon indicating copy to clipboard operation
heron copied to clipboard

KinematicPositionBased velocity is not available after a position change

Open Kerollmops opened this issue 2 years ago • 2 comments

I am not sure if it is relevant in any way but the velocity of a KinematicPositionBased rigid body is told to be calculated automatically by the physics engine but it is not available to the user. I am not sure if the velocity should even be propagated at the heron/bevy level.

If the transform is updated, then a velocity will be automatically calculated, producing realistic interaction with other bodies.

Kerollmops avatar Mar 01 '22 20:03 Kerollmops

Hi,

Yes, the velocity should be calculated by the engine. You should be able to read that velocity if you want to.

Are you saying it doesn't work, and the velocity is not calculated by the engine?

I am not sure if the velocity should even be propagated at the heron/bevy level.

The Velocity component should be updated to reflect the velocity of the component if that's what you mean.

jcornaz avatar Mar 06 '22 14:03 jcornaz

@Kerollmops would you mind sharing how to reproduce the behavior you observed?

jcornaz avatar Mar 06 '22 14:03 jcornaz