cosmetics

This commit is contained in:
UbitUmarov
2024-01-02 23:14:38 +00:00
parent 10cdd17d27
commit 75952d9bea
5 changed files with 67 additions and 85 deletions

View File

@@ -147,8 +147,7 @@ namespace OpenSim.Region.PhysicsModule.BulletS
ForcePosition = RawPosition;
// Set the velocity
if (m_moveActor != null)
m_moveActor.SetVelocityAndTarget(RawVelocity, RawVelocity, false);
m_moveActor?.SetVelocityAndTarget(RawVelocity, RawVelocity, false);
ForceVelocity = RawVelocity;
TargetVelocity = RawVelocity;