Example #1
0
        void Update()
        {
            //m_LocalCamera.AccumulateYawPitch();

            m_LogicLoop.Step();

            m_SmoothPlayer.position = Vector3.Lerp(_previous.Position, _current.Position, m_LogicLoop.Alpha);
            m_SmoothPlayer.rotation = Quaternion.Lerp(_previous.Rotation, _current.Rotation, m_LogicLoop.Alpha);


            m_LocalCamera.RotateUpdate(_previous.Position);
        }
Example #2
0
 private void Update()
 {
     m_LogicLoop.Step();
 }