Example #1
0
 public void FollowTarget(DTRMPosition target)
 {
     legsState = LegsState.FollowingTarget;
     targetActor = target;
 }
Example #2
0
 public void PursueTarget(DTRMPosition target)
 {
     legsState = LegsState.PursuingTarget;
     targetActor = target;
 }
Example #3
0
 public FixedPoint SqrDistance(DTRMPosition other)
 {
     return (position - other.position).sqrMagnitude;
 }
Example #4
0
 public void FollowTarget(DTRMPosition target)
 {
     legsState   = LegsState.FollowingTarget;
     targetActor = target;
 }
Example #5
0
 public void PursueTarget(DTRMPosition target)
 {
     legsState   = LegsState.PursuingTarget;
     targetActor = target;
 }
Example #6
0
 public FixedPoint SqrDistance(DTRMPosition other)
 {
     return((position - other.position).sqrMagnitude);
 }