Component:UserInterfacePositioner

From Resonite Wiki


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


Component image 
User Interface Positioner component as seen in the Scene Inspector


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

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.