Component:FlipAtUser: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page FlipAtUser (Component) to Component:FlipAtUser: Creating component Namespace
Automated: update Fields
Line 12: Line 12:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|LocalSpace|Slot|
|UpSpace|{{RootFieldType|RootSpace}}|TypeAdv0=true|
|UseParentSpace|Bool|
|_rotation|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv1=true| 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.
|OverrideRootSpace|RootSpace|
|_rotation|IField`1|TypeString1=IField<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.
}}
}}



Revision as of 21:25, 3 March 2024


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


Component image 
Flip At User component as seen in the Scene Inspector


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

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
_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

Related Components