Avatar Pose Box Constraint is a BodyPoseFilter that can be used in the construction of tool tips, anchors, and more.
This Component is used as a reference to tell for example an [[Component:AvatarAnchor#BodyPoseFilters|Avatar Anchor body pose filter]] how to constrain the specified body node when a user enters the anchor.
{{Infobox Component
{{Infobox Component
|Image=AvatarPoseBoxConstraintComponent.png
|Image=AvatarPoseBoxConstraintComponent.png
|Name=AvatarPoseBoxConstraint
|Name=AvatarPoseBoxConstraint
}}
}}
<!--T:2-->
== Intoduction ==
<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|BoxSize|Float3|
|BoxSize|Float3| the size of the box that a user's body node should be constrained within. (0,0,0) is valid for this field.
|DefaultPoseReference|Slot|
|DefaultPoseReference|Slot| the slot which the box will be positioned, rotated, and scaled by. If null, this is the slot this component is on.
}}
}}
Line 23:
Line 21:
<!--T:5-->
<!--T:5-->
== Examples ==
== Examples ==
This is widely used in seats where the user's legs and hips are posed in a sitting position, like when sitting in a car.
Avatar Pose Box Constraint is a BodyPoseFilter that can be used in the construction of tool tips, anchors, and more.
This Component is used as a reference to tell for example an Avatar Anchor body pose filter how to constrain the specified body node when a user enters the anchor.
Component image
AvatarPoseBoxConstraint component as seen in the Scene Inspector