Fix joint limits not being flipped in one body constrains. (#549)
This commit is contained in:
committed by
Sébastien Crozet
parent
a2fdeab7e1
commit
4332818e02
@@ -198,7 +198,7 @@ impl JointOneBodyConstraintBuilder {
|
||||
|
||||
if flipped {
|
||||
std::mem::swap(&mut handle1, &mut handle2);
|
||||
std::mem::swap(&mut joint_data.local_frame1, &mut joint_data.local_frame2);
|
||||
joint_data.flip();
|
||||
};
|
||||
|
||||
let rb1 = &bodies[handle1];
|
||||
|
||||
Reference in New Issue
Block a user