Difference between revisions of "AutoLookAtUser (Component)"
Jump to navigation
Jump to search
(Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=AutoLookAtUserComponent.png |Name=Auto Look At User }} <!--T:2--> == Fields == {{Table Comp...") |
(Documented some Fields and added related Issues.) |
||
Line 7: | Line 7: | ||
|Name=Auto Look At User | |Name=Auto Look At User | ||
}} | }} | ||
+ | |||
+ | The AutoLookAtUser component can be used to make a slot rotate towards a given user or some user that is close to it. | ||
<!--T:2--> | <!--T:2--> | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
− | |RetargetDistance|Float| | + | |RetargetDistance|Float| The distance that the current target needs to be from the slot for it to pick a new target. |
− | |LerpSpeed|Float| | + | |LerpSpeed|Float| The speed at which the slot rotates towards its target. |
− | |TargetedUser|User| | + | |TargetedUser|User| The user that the slot is currently looking at. |
− | |AutoTarget|Bool| | + | |AutoTarget|Bool| Whether or not the component should pick its own target. |
− | |ExcludeActiveUser|Bool| | + | |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| | |SwingReference|Float3| | ||
|TwistReference|Float3| | |TwistReference|Float3| | ||
Line 30: | Line 32: | ||
<!--T:5--> | <!--T:5--> | ||
+ | == Related Issues == | ||
+ | [https://github.com/Neos-Metaverse/NeosPublic/issues/272 <s>#272 - AutoLookAtUser, UserInterfacePositioner, PositionAtUser are difficult to use with Logix</s>] | ||
+ | |||
+ | [https://github.com/Neos-Metaverse/NeosPublic/issues/1526 <s>#1526 - AutoLookAtUser Ignore Parent User Option</s>] | ||
+ | |||
+ | [https://github.com/Neos-Metaverse/NeosPublic/issues/1801 <s>#1801 - Rename "LookAT" & "AutoLookAtUser" Component</s>] | ||
+ | |||
+ | [https://github.com/Neos-Metaverse/NeosPublic/issues/2296 <s>#2296 - LookAtUser does not respect TargetAtLocalUser when in freecam Mode</s>] | ||
+ | |||
+ | [https://github.com/Neos-Metaverse/NeosPublic/issues/3148 #3148 - AutoLookAtUser looks *away* from the user, while LookAtUser looks *at* the user.] | ||
+ | |||
+ | <!--T:6--> | ||
== Related Components == | == Related Components == | ||
</translate> | </translate> |
Latest revision as of 09:47, 25 December 2021
This article or section is a Stub. You can help the Neos Wiki by expanding it.
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
|
IField<floatQ> |
Usage
Examples
Related Issues
#272 - AutoLookAtUser, UserInterfacePositioner, PositionAtUser are difficult to use with Logix
#1526 - AutoLookAtUser Ignore Parent User Option
#1801 - Rename "LookAT" & "AutoLookAtUser" Component
#2296 - LookAtUser does not respect TargetAtLocalUser when in freecam Mode
#3148 - AutoLookAtUser looks *away* from the user, while LookAtUser looks *at* the user.