add give a body to default rootVelocity

This commit is contained in:
UbitUmarov
2016-07-25 07:24:39 +01:00
parent 2548f240b5
commit fcdf0b00b1

View File

@@ -396,7 +396,7 @@ namespace OpenSim.Region.PhysicsModules.SharedBase
}
public abstract Vector3 Velocity { get; set; }
public virtual Vector3 rootVelocity { get; }
public virtual Vector3 rootVelocity { get { return Vector3.Zero; } }
public abstract Vector3 Torque { get; set; }
public abstract float CollisionScore { get; set;}