Description
The FootShuffle
property of the CitizenAnimationHelper
class is a float
value that was originally used to control the amount of foot shuffling animation for a character. However, this property is now marked as obsolete and should not be used in new code. Instead, you should use the MoveRotationSpeed
property to achieve similar functionality.
Usage
Although the FootShuffle
property is still present in the API, it is recommended to transition to using the MoveRotationSpeed
property for controlling character rotation and foot shuffling animations. This change ensures compatibility with future updates and maintains best practices in code development.
Example
// Example of setting the MoveRotationSpeed instead of the obsolete FootShuffle
var animationHelper = new CitizenAnimationHelper();
// Set the rotation speed to control foot shuffling
animationHelper.MoveRotationSpeed = 45.0f; // Rotate at 45 degrees per second