breakpoint
before change animation type
This commit is contained in:
@@ -16,6 +16,14 @@ namespace BITFALL.Movement.MotionBased
|
||||
public interface IMotionBasedState : IEntityMovementState
|
||||
{
|
||||
void OnAnimatorMove();
|
||||
}
|
||||
public interface IMotionBasedAnimationState:ICloneable
|
||||
{
|
||||
}
|
||||
public interface IMotionBasedAnimationClip{}
|
||||
public abstract class MotionBasedAnimationState
|
||||
{
|
||||
|
||||
}
|
||||
[CustomType(typeof(MotionBasedMovement))]
|
||||
public sealed class MotionBasedMovement : StateBasedBehavior<IMotionBasedState>,IEntityMovement
|
||||
@@ -151,8 +159,7 @@ namespace BITFALL.Movement.MotionBased
|
||||
get => Transform.rotation;
|
||||
set => Transform.rotation = value;
|
||||
}
|
||||
|
||||
Vector3 IEntityMovement.Forward => Transform.forward;
|
||||
public Vector3 Forward => Rotation * Vector3.forward;
|
||||
|
||||
Vector3 IEntityMovement.ViewForward => Transform.forward;
|
||||
|
||||
|
Reference in New Issue
Block a user