\r
#endregion Public fields\r
\r
+ uint previousParent = uint.MaxValue;\r
+\r
/// <summary>\r
/// Cleanup resources used\r
/// </summary>\r
/// <param name="time">Time since the last call (last frame time in seconds)</param>\r
public virtual void Step(float time)\r
{\r
+ if (previousParent != BasePrim.ParentID)\r
+ {\r
+ previousParent = BasePrim.ParentID;\r
+ InterpolatedPosition = BasePrim.Position;\r
+ InterpolatedRotation = BasePrim.Rotation;\r
+ return;\r
+ }\r
+\r
// Linear velocity and acceleration\r
if (BasePrim.Velocity != Vector3.Zero)\r
{\r