struct in UnityEngine.Animations
/
Implemented in:UnityEngine.AnimationModule
Implements interfaces:IPlayable
A Playable that warps character stride to match desired locomotion speed and direction, adjusting foot placement and hips position for natural movement.
This playable supports two modes:
1) Manual: provide stride direction and scale directly.
2) Graph: derive stride parameters from locomotion speed and other graph inputs.
The playable adjusts IK and FK foot bones to achieve proper foot placement while compensating for thigh rotation and respecting FK limits.
Hips position can be adjusted using spring physics for smooth vertical motion.
| Null | Returns a null AnimationStrideWarpingPlayable. |
| GetClampIKUsingFKLimits | Returns whether IK clamping using FK limits is enabled. |
| GetCompensateIKUsingFKThighRotation | Returns whether IK compensation using FK thigh rotation is enabled. |
| GetFeet | Gets the configured foot configurations. |
| GetFloorNormalDirection | Gets the current floor normal direction. |
| GetGravityDirection | Gets the current gravity direction. |
| GetHipsBone | Gets the configured hips bone name. |
| GetHipsDownErrorTolerance | Gets the current error tolerance. |
| GetHipsDownMaxIterations | Gets the maximum iteration count. |
| GetHipsDownMaxOffset | Gets the maximum hips down offset. |
| GetHipsDownSpringDamping | Gets the spring damping ratio. |
| GetHipsDownSpringMaxIterations | Gets the maximum spring iteration count. |
| GetHipsDownSpringStiffness | Gets the spring stiffness. |
| GetHipsDownSpringUpdateRate | Gets the spring update rate. |
| GetHipsDownWeight | Gets the current hips down weight. |
| GetInterpSpeed | Gets the interpolation speed. |
| GetLocomotionSpeed | Gets the current locomotion speed. |
| GetMaxChangeSpeed | Gets the maximum change speed. |
| GetMinRootMotionSpeedThreshold | Gets the minimum root motion speed threshold. |
| GetMode | Gets the current stride warping mode. |
| GetNodeWeight | Returns the current node weight. |
| GetOrientStrideDirectionUsingFloorNormal | Returns whether stride direction is oriented using floor normal. |
| GetSmoothTime | Gets the smoothing time. |
| GetStrideDirection | Gets the current stride direction. |
| GetStrideScale | Gets the current stride scale. |
| GetUseSmoothDamping | Returns whether smooth damp or exponential decay interpolation is used. |
| SetClampIKUsingFKLimits | If enabled, clamps IK foot placement using FK joint limits. |
| SetCompensateIKUsingFKThighRotation | If enabled, compensates IK foot placement using FK thigh rotation. |
| SetFeet | Sets the foot configuration for stride warping. |
| SetFloorNormalDirection | Sets the floor normal direction for orientation calculations. |
| SetGravityDirection | Sets the gravity direction for stride scale calculations. |
| SetHipsBone | Defines the hips bone for vertical adjustment. |
| SetHipsDownErrorTolerance | Sets the error tolerance for hips vertical adjustment. |
| SetHipsDownMaxIterations | Sets the maximum number of iterations for hips vertical adjustment. |
| SetHipsDownMaxOffset | Sets the maximum vertical offset for hips adjustment. |
| SetHipsDownSpringDamping | Sets the damping ratio for the hips spring physics. |
| SetHipsDownSpringMaxIterations | Sets the maximum number of iterations for the hips spring physics. |
| SetHipsDownSpringStiffness | Sets the stiffness for the hips spring physics. |
| SetHipsDownSpringUpdateRate | Sets the update rate for the hips spring physics simulation. |
| SetHipsDownWeight | Sets the weight for hips vertical adjustment. |
| SetInterpSpeed | Sets the exponential decay interpolation speed. |
| SetLocomotionSpeed | Sets the locomotion speed for Graph mode. |
| SetMaxChangeSpeed | Sets the maximum speed of change for stride parameters. |
| SetMinRootMotionSpeedThreshold | Sets the minimum root motion speed threshold below which stride warping is disabled. |
| SetMode | Sets how stride parameters are provided (Manual or Graph). |
| SetNodeWeight | Sets the blend weight for mixing between the input animation and the warp result. |
| SetOrientStrideDirectionUsingFloorNormal | If enabled, orients the stride direction using the floor normal. |
| SetSmoothTime | Sets the smooth time used by a SmoothDamp-style filter. |
| SetStrideDirection | Sets the direction of the stride for Manual mode. |
| SetStrideScale | Sets the scale factor for stride length. |
| SetUseSmoothDamping | If true, uses SmoothDamp for smoothing. If false, uses exponential decay interpolation. |
| Create | Creates an AnimationStrideWarpingPlayable in the PlayableGraph. |