lot's of fixes, fixed animation retargetting, fixed FSM
This commit is contained in:
@@ -904,6 +904,10 @@ namespace Invector.vCharacterController.AI
|
||||
//_rigidbody.velocity = Vector3.zero;
|
||||
_rigidbody.position = animator.rootPosition;
|
||||
if (lockRotation)
|
||||
{
|
||||
_rigidbody.rotation = animator.rootRotation;
|
||||
}
|
||||
else
|
||||
{
|
||||
transform.rotation = animator.rootRotation;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user