mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-14 16:27:19 +00:00
fix comments
This commit is contained in:
parent
dcc65fa8c5
commit
c8b44837af
1 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue