Component:AutoLookAtUser: Difference between revisions

From Resonite Wiki
Zandario (talk | contribs)
m LogiX -> ProtoFlux, also added some stubs
 
Automated: update Fields, Categories
(One intermediate revision by one other user not shown)
Line 20: Line 20:
|MaxSwing|Float|
|MaxSwing|Float|
|MaxTwist|Float|
|MaxTwist|Float|
|_rotation|IField`1|TypeString9=IField<floatQ>|
|_rotation|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv9=true|
}}
}}


Line 38: Line 38:
== Related Components ==
== Related Components ==
[[Category:ComponentStubs]]
[[Category:ComponentStubs]]
[[Category:Components|Auto Look At User]]
[[Category:Components:Transform:Drivers{{#translation:}}|Auto Look At User]]
[[Category:Components:Transform:Drivers|Auto Look At User]]
[[Category:Components{{#translation:}}|Auto Look At User]]

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 
Auto Look At User component as seen in the Scene Inspector


The AutoLookAtUser component can be used to make a slot rotate towards a given user or some user that is close to it.

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.
RetargetDistance Float The distance that the current target needs to be from the slot for it to pick a new target.
LerpSpeed Float The speed at which the slot rotates towards its target.
TargetedUser User The user that the slot is currently looking at.
AutoTarget Bool Whether or not the component should pick its own target.
ExcludeActiveUser Bool If this is true and the slot with this component is parented to a user, it won't look at that user.
SwingReference Float3
TwistReference Float3
MaxSwing Float
MaxTwist Float
_rotation field drive of FloatQ

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.


Related Issues

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


Related Components