m ProbablePrime moved page UserInterfacePositioner (Component) to Component:UserInterfacePositioner: Creating component Namespace |
Automated: update Fields, Categories |
||
Line 11: | Line 11: | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
| | |TargetUser|{{RootFieldType|UserRef}}|TypeAdv0=true| | ||
|UseHead|Bool| | |||
| | |||
|RotateVerticalOnly|Bool| {{stub}} | |RotateVerticalOnly|Bool| {{stub}} | ||
|PositionSpeed|Float| The speed at which the object will track the user's position. | |PositionSpeed|Float| The speed at which the object will track the user's position. | ||
Line 23: | Line 22: | ||
|TargetPosition|Float3| {{stub}} | |TargetPosition|Float3| {{stub}} | ||
|TargetRotation|FloatQ| {{stub}} | |TargetRotation|FloatQ| {{stub}} | ||
|_position| | |_position|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv11=true| {{stub}} | ||
|_rotation| | |_rotation|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv12=true| {{stub}} | ||
}} | }} | ||
Line 36: | Line 35: | ||
[[Category:ComponentStubs]] | [[Category:ComponentStubs]] | ||
[[Category:Components|User Interface Positioner]] | [[Category:Components:Transform:Drivers{{#translation:}}|User Interface Positioner]] | ||
[[Category:Components: | [[Category:Components{{#translation:}}|User Interface Positioner]] |
Latest revision as of 21:26, 3 March 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
The UserInterfacePositioner causes the slot to which it is attached to track the user's head position and rotation. This is a somewhat nicer and cleaner alternative than parenting a slot directly to a user's avatar node.
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. |
TargetUser
|
direct UserRef | |
UseHead
|
Bool | |
RotateVerticalOnly
|
Bool | This article or section is a Stub. You can help the Resonite Wiki by expanding it. |
PositionSpeed
|
Float | The speed at which the object will track the user's position. |
RotationSpeed
|
Float | The speed at which the object will track the user's rotation. |
ActivationDistance
|
Float | The distance from the user to the object at which the object will start tracking the user's position and rotation. Zero means "always track". |
ActivationAngle
|
Float | The angle between the user and the object at which the object will start tracking the user's position and rotation. Zero means "always track". |
DeactivationDistance
|
Float | This article or section is a Stub. You can help the Resonite Wiki by expanding it. |
DeactivationAngle
|
Float | This article or section is a Stub. You can help the Resonite Wiki by expanding it. |
TargetPosition
|
Float3 | This article or section is a Stub. You can help the Resonite Wiki by expanding it. |
TargetRotation
|
FloatQ | This article or section is a Stub. You can help the Resonite Wiki by expanding it. |
_position
|
field drive of Float3 | This article or section is a Stub. You can help the Resonite Wiki by expanding it. |
_rotation
|
field drive of FloatQ | This article or section is a Stub. You can help the Resonite Wiki by expanding it. |
Usage
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.