public static VInt3 MoveLerp(ActorRoot actor, VInt3 srcPos, VInt3 delta, out VInt groundY)
 {
     if (actor.isMovable)
     {
         groundY = ((actor != null) ? actor.groundY : 0);
         VInt3 zero = VInt3.zero;
         return(PathfindingUtility.InternalMove(srcPos, delta, ref groundY, actor, null));
     }
     groundY = actor.groundY;
     return(VInt3.zero);
 }
 public static VInt3 Move(ActorRoot actor, VInt3 delta, out VInt groundY, MoveDirectionState state = null)
 {
     if (actor.isMovable)
     {
         groundY = ((actor != null) ? actor.groundY : 0);
         VInt3 location = actor.location;
         return(PathfindingUtility.InternalMove(location, delta, ref groundY, actor, state));
     }
     groundY = actor.groundY;
     return(VInt3.zero);
 }
 public static Int3 Move(Actor actor, Int3 delta, out Int1 groundY)
 {
     //if (actor.isMovable)
     {
         groundY = actor.Position.y;
         Int3 location = actor.Position;
         return(PathfindingUtility.InternalMove(location, delta, ref groundY, actor));
     }
     //groundY = actor.groundY;
     return(Int3.zero);
 }