File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/dynamics/solver/contact Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -126,10 +126,12 @@ impl ContactConstraint {
126126 for mut contact in manifold. points . iter ( ) . copied ( ) {
127127 // Transform contact points from collider-space to body-space.
128128 if let Some ( transform) = collider_transform1 {
129- contact. local_point1 = transform. rotation * contact. local_point1 + transform. translation ;
129+ contact. local_point1 =
130+ transform. rotation * contact. local_point1 + transform. translation ;
130131 }
131132 if let Some ( transform) = collider_transform2 {
132- contact. local_point2 = transform. rotation * contact. local_point2 + transform. translation ;
133+ contact. local_point2 =
134+ transform. rotation * contact. local_point2 + transform. translation ;
133135 }
134136
135137 contact. penetration += collision_margin;
You can’t perform that action at this time.
0 commit comments