Component:AvatarPoseBoxConstraint: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page AvatarPoseBoxConstraint (Component) to Component:AvatarPoseBoxConstraint: Creating component Namespace
Add related. Formatting.
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=AvatarPoseBoxConstraintComponent.png
|Image=AvatarPoseBoxConstraintComponent.png
|Name=AvatarPoseBoxConstraint
|Name=AvatarPoseBoxConstraint
}}
}}
Avatar Pose Box Constraint is a BodyPoseFilter that can be used in the construction of tool tips, anchors, and more.


<!--T:2-->
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.
== Intoduction ==


<!--T:3-->
<!--T:3-->
== Usage ==
== Fields ==
{{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.
}}
}}


<!--T:4-->
<!--T:4-->
== Behavior ==
== Usage ==
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.


<!--T:5-->
<!--T:5-->
== Examples ==
== Examples ==


<!--T:6-->
<!--T:6-->
== Related Components ==
== See Also ==
* [[Component:AvatarPoseSmoothLerp]]
* [[Component:AvatarPoseOffset]]
* [[Component:AvatarPoseRotationConstraint]]
* [[Component:AvatarPoseBoxConstraint]]
</translate>
</translate>
[[Category:Components{{#translation:}}|AvatarPoseBoxConstraint (Component){{#translation:}}]]
[[Category:Components{{#translation:}}|Avatar Pose Box Constraint]]
[[Category:ComponentStubs]]
[[Category:Components:Users:Common Avatar System:Pose Filters{{#translation:}}|Avatar Pose Box Constraint]]
[[Category:Components:Users:Common Avatar System:Pose Filters{{#translation:}}|AvatarPoseBoxConstraint (Component){{#translation:}}]]

Latest revision as of 03:38, 13 November 2024

Component image 
AvatarPoseBoxConstraint component as seen in the Scene Inspector

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.

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.
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 the slot which the box will be positioned, rotated, and scaled by. If null, this is the slot this component is on.

Usage

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.

Examples

See Also