fix comments

This commit is contained in:
in0finite 2021-01-07 22:16:51 +01:00
parent dcc65fa8c5
commit c8b44837af

View file

@ -239,18 +239,15 @@ namespace SanAndreasUnity.Behaviours.Peds
}
// apply velocity on clients - this is done by rigid bodies ?
// apply velocity on clients - this is not done by kinematic rigid bodies
// foreach (var pair in m_syncDictionaryBoneVelocities)
// {
// int boneId = pair.Key;
// Vector3 receivedVelocity = pair.Value;
// if (m_framesDict.TryGetValue(boneId, out BoneInfo boneInfo))
// {
// if (null == boneInfo.Rigidbody) // only for bones which don't have rigid body
// {
// Vector3 localVelocity = GetReceivedVelocityAsLocal(boneInfo.Transform, receivedVelocity);
// boneInfo.Transform.localPosition += localVelocity * Time.deltaTime;
// }
// }
// }
}