AvatarAnchor (Component)

From Neos Wiki
Jump to navigation Jump to search
This page contains changes which are not marked for translation.


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


AvatarAnchor component as seen in the Scene Inspector

Intoduction

An anchor allows for an avatar to be attached to a slot.

Usage

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
Highlight Bool TBD
LocalSpace Slot The coordinate space in which to work with the avatar. Leaving this blank uses the world root; using a slot will cause the avatar to be scaled if that slot is called.
UseParentSpace Bool Use the parent of the specified slot, rather than the slot itself.
OverrideRootSpace RootSpace TBD
MinScale Float If an avatar has a scale below the MinScale, it will be scaled up to that size.
MaxScale Float If an avatar has a scale above the MaxScale, it will be scaled down to that size.
PositionNode UserNode Which part of the avatar to use to position the avatar.
PositionReference Slot Where to position the avatar to.
RotationNode UserNode Which part of the avatar to use to rotate the avatar.
RotationReference Slot Where to rotate the avatar relative to.
PreserveUpOnEnter Bool TBD
PreserveUpOnExit Bool TBD
UnparentEverythingOnDestroy Bool TBD
TransformRestoreMode RestoreMode TBD
RestoreNode UserNode TBD
RestoreReference Slot TBD
Filters BodyNodeFilters A list of pose filters to use. Each one can control the position of a specific body node
UserFilters IAvatarAnchorUserFilter TBD
UserAnchored AvatarAnchorUserEvent Internal
UserReleased AvatarAnchorUserEvent Internal
LocomotionUpdate AvatarAnchorLocomotionEvent Internal
_originalSpace Slot Internal
_originalPosition Float3 Internal
_originalRotation FloatQ Internal
_originalScale Float Internal
_dummyObjectSlots AvatarObjectSlot Internal

Behavior

By itself, an AvatarAnchor does nothing. It requires either an AvatarAnchorTouchTrigger component or a Anchor User LogiX node to place an avatar into it.

To exit an anchor, a AvatarAnchorLocomotionRelease component or a Release User LogiX node needs to be used.

Examples

Related Components