Component:AvatarPoseRotationConstraint

From Resonite Wiki
This page contains changes which are not marked for translation.
Component image 
AvatarPoseRotationConstraint component as seen in the Scene Inspector

The AvatarPoseRotationConstraint component is used to either restrict the rotation direction of the user's arm when using a tooltip, or to restrict the rotation of a particular BodyNode.

Pose filters are used with components such as the Component:GrabbableAvatarPoseFilter or Component:AvatarAnchor in order to restrict movement of any Type:BodyNode. These components do so by telling the game to apply these pose filters when they interact with said objects. In the case of an Avatar Anchor, this happens while seated. With the grabbable pose filter, this happens when any Type:IGrabbable with the component on the same Slot is grabbed. This component when used with such components can be used to control placement of a user's hand on an item.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
MaxTwist Float the max twist in degrees allowed for the object being filtered.
MaxSwing Float the max swing in degrees allowed for the object being filtered.
Axis Float3 swing axis direction for the object being filtered.
TwistReferenceAxis Float3 The twist axis direction for the object being filtered.

Usage

Used in avatar anchors and in tooltip contraints.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Also