Component:GrabWorldLocomotion

From Resonite Wiki
Revision as of 20:09, 26 January 2025 by 989onan (talk | contribs) (add see also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Grab World Locomotion component as seen in the Scene Inspector

The GrabWorldLocomotion component can be used to make a locomotion for a world or injected into a user from an avatar or tooltip.

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. Some components stop their functionality when this field is disabled, but some don't.
Icon IAssetProvider`1<ITexture2D> The icon image visual for this locomotion in the context menu.
Color ColorX The color of this locomotion's icon in the context menu.
_currentController LocomotionController The current Locomotion controller which would be from a user controlling this locmotion.
_lastDefaultIcon Uri The last URI used for the default context menu icon for this locomotion.
_lastDefaultColor Nullable`1<ColorX> The last color used for the default version of this locomotion for the context menu.
Turn direct TurnSubmodule How turning should be handled for this locomotion.
ActivationThreshold Float The primary strength from the user before activation.
DeactivationThreshold Float The primary strength from the user before deactivation.
_visual Slot the slot of the cross mesh visual used when moving.
_crossMesh CrossMesh The cross mesh that should appear at the user's hand whenever moving with this locomotion.
_material PBS_RimMetallic The material applied to the cross mesh visual.

Usage

Can be used by making this locomotion active via the context menu. When used as a locomotion, it can allow for fine turning by pressing left and right and fine translational precision control by pressing forward on the joystick.

Examples

Can be used for small movement maneuvering where precision is key.

See Also