aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTurki Jamaan <22967219+tjamaan@users.noreply.github.com>2022-01-08 21:37:13 +0300
committerGitHub <noreply@github.com>2022-01-08 21:37:13 +0300
commit367fc3405f5b43af90527c9710a47b8b88185001 (patch)
tree026a097fef20f6bc7dd17fd199537199eef2032b /src
parente41fccb9fb0069c8083f34b488f35242e453307e (diff)
downloadrapier-367fc3405f5b43af90527c9710a47b8b88185001.tar.gz
rapier-367fc3405f5b43af90527c9710a47b8b88185001.tar.bz2
rapier-367fc3405f5b43af90527c9710a47b8b88185001.zip
remove unnecessary comment
Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
Diffstat (limited to 'src')
-rw-r--r--src/pipeline/physics_pipeline.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pipeline/physics_pipeline.rs b/src/pipeline/physics_pipeline.rs
index 89113a8..440e9af 100644
--- a/src/pipeline/physics_pipeline.rs
+++ b/src/pipeline/physics_pipeline.rs
@@ -460,8 +460,6 @@ impl PhysicsPipeline {
let new_pos = rb_vel.integrate(
integration_parameters.dt,
&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,
);
bodies.set_internal(handle.0, RigidBodyPosition::from(new_pos));