Universe.Physics.BulletSPlugin.BSActorAvatarMove.Process_OnPreUpdateProperty C# (CSharp) Method

Process_OnPreUpdateProperty() private method

private Process_OnPreUpdateProperty ( EntityProperties &entprop ) : void
entprop EntityProperties
return void
        void Process_OnPreUpdateProperty(ref EntityProperties entprop)
        {
            // Don't change position if standing on a stationary object.
            if (m_controllingPrim.IsStationary)
            {
                entprop.Position = m_controllingPrim.RawPosition;
                entprop.Velocity = OMV.Vector3.Zero;
                m_physicsScene.PE.SetTranslation(m_controllingPrim.PhysBody, entprop.Position, entprop.Rotation);
            }

        }