助手类 (Helpers)
Root Motion Controller 组件
这个Helper 组件用于提供 Animator 根运动速度向量 (animVelocity)。
它必须附加在 Animator 组件所在的游戏对象上。
Orient Model to Ground (Optional) 组件
这个助手类组件用于将模型定位到地面。 它必须附加在CharacterMovement 组件所在的游戏对象上,并且定位模型必须是此类所在的游戏物体的子物体。
如果您对角色应遵循的层次结构有疑问,请参阅Prefab (Examples/prefabs) 。
变量名 | 说明 |
---|---|
Orient to Ground | Determines if the model transform will change its up vector to match the ground normal. |
Model Transform | Transform to be aligned to ground. E.g. your child character model transform. |
Min Angle | Minimum slope angle (in degrees) to cause an orientation change. |
Rotation Speed | Maximum turning speed (in deg/s). |