Beispiel #1
0
    public Vector3 GetPointVelocity(Vector3 point)
    {
        var p = point - GlobalTransform.origin;
        var v = AngularVelocity.Cross(p);

        v  = ToGlobal(v);
        v += LinearVelocity;

        return(ToLocal(v));
    }