Refactor default D6JointMotion for D6Joint to Locked

This commit is contained in:
Wojtek Figat
2021-09-29 10:07:25 +02:00
parent 050e12c756
commit fa82d818d8

View File

@@ -11,7 +11,7 @@ D6Joint::D6Joint(const SpawnParams& params)
: Joint(params)
{
for (int32 i = 0; i < static_cast<int32>(D6JointAxis::MAX); i++)
_motion[i] = D6JointMotion::Free;
_motion[i] = D6JointMotion::Locked;
_limitLinear.Extent = 100.0f;
}