(Redirected from FlipAtUser (Component))
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
The FlipAtUser component can be used to make an object face towards positive or negative Z, depending on what side of it the local user is.
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. |
UpSpace
|
direct RootSpace | the coordinate space that is used when calculating what is "up". If set to local user space, then the up direction of this component is the up direction of the slot the user is parented under, which is usually up for that user. This can be useful if a user is in a gravity direction which doesn't match the world's up direction, and will make this orient to that user's direction for a better reading experience for example. |
_rotation
|
field drive of FloatQ | The field that is driven to make the object rotate to the user. This is automatically set to the Rotation field of the slot this component is added to. |
Usage
Examples
Useful for signs or dialouge boxes.