remove unnecessary comment
Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
This commit is contained in:
@@ -460,8 +460,6 @@ impl PhysicsPipeline {
|
|||||||
let new_pos = rb_vel.integrate(
|
let new_pos = rb_vel.integrate(
|
||||||
integration_parameters.dt,
|
integration_parameters.dt,
|
||||||
&rb_pos.position,
|
&rb_pos.position,
|
||||||
// NOTE: we don't use the `world_com` here because it is not
|
|
||||||
// really updated for kinematic bodies.
|
|
||||||
&rb_mprops.local_mprops.local_com,
|
&rb_mprops.local_mprops.local_com,
|
||||||
);
|
);
|
||||||
bodies.set_internal(handle.0, RigidBodyPosition::from(new_pos));
|
bodies.set_internal(handle.0, RigidBodyPosition::from(new_pos));
|
||||||
|
|||||||
Reference in New Issue
Block a user