The SittingOffsetHeight
property specifies the vertical offset from the floor when the character is sitting. This value determines how high the character's sitting position is relative to the ground.
The SittingOffsetHeight
property specifies the vertical offset from the floor when the character is sitting. This value determines how high the character's sitting position is relative to the ground.
Use this property to adjust the sitting height of a character in a scene. This can be useful for ensuring that the character's sitting position aligns correctly with chairs or other seating objects in the environment.
// Example of setting the SittingOffsetHeight var animationHelper = new CitizenAnimationHelper(); animationHelper.SittingOffsetHeight = 0.5f; // Sets the sitting offset height to 0.5 units above the floor