The '''LookAtUser''' component drives the rotation specified by <code>_rotationDrive</code> to point towards the user specified in <code>TargetUser</code>, or the Local User if <code>TargetAtLocalUser</code> is checked.
The '''LookAtUser''' component drives the rotation specified by <code>_rotationDrive</code> to point towards the user specified in <code>TargetUser</code>, or the Local User if <code>TargetAtLocalUser</code> is checked.
== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|TargetUser|User| The user to look at, unless ''TargetAtLocalUser'' is checked.
|TargetUser|User| The user to look at, unless ''TargetAtLocalUser'' is checked.
Line 19:
Line 20:
|_rotationDrive|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv8=true| ''Automatically Assigned'' - The FloatQ to be driven by this component.
|_rotationDrive|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv8=true| ''Automatically Assigned'' - The FloatQ to be driven by this component.
}}
}}
== Behavior==
== UserNode ==
{{Table EnumValues
|Root|0|
|Head|1|
|View|2|
}}
== Usage ==
== Examples ==
== Examples ==
== Related Components ==
== See Also ==
</translate>
</translate>
Line 28:
Line 39:
[[Category:Components With Nested Enums{{#translation:}}|Look At User]]
[[Category:Components With Nested Enums{{#translation:}}|Look At User]]
[[Category:Components{{#translation:}}|Look At User]]
[[Category:Components{{#translation:}}|Look At User]]
[[Category:ComponentStubs]]
Latest revision as of 09:58, 18 March 2025
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
The LookAtUser component drives the rotation specified by _rotationDrive to point towards the user specified in TargetUser, or the Local User if TargetAtLocalUser is checked.