Skip to content

Commit

Permalink
PoweredSliderConstraintTest.cpp: Remove unnecessary copy of settings (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold authored Nov 9, 2024
1 parent 8ee0b44 commit c9d7079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Samples/Tests/Constraints/PoweredSliderConstraintTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void PoweredSliderConstraintTest::Initialize()

position += Vec3(box_size + 10.0f, 0, 0);

mBody2 = mBodyInterface->CreateBody(BodyCreationSettings(BodyCreationSettings(box, position, Quat::sIdentity(), EMotionType::Dynamic, Layers::MOVING)));
mBody2 = mBodyInterface->CreateBody(BodyCreationSettings(box, position, Quat::sIdentity(), EMotionType::Dynamic, Layers::MOVING));
mBody2->SetCollisionGroup(CollisionGroup(group_filter, 0, 0));
mBody2->GetMotionProperties()->SetLinearDamping(0.0f);
mBody2->SetAllowSleeping(false);
Expand Down

0 comments on commit c9d7079

Please sign in to comment.