Component:TipTouchSource

From Resonite Wiki
Revision as of 17:17, 30 January 2025 by 989onan (talk | contribs) (fix link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Tip Touch Source component as seen in the Scene Inspector

The TipTouchSource component is responsible for interaction with touchable objects like buttons and touch buttons. This component gains functionality after being activated by a Component:AvatarHandDataAssigner upon avatar equip.

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.
AutoUpdateUser User which user should be updating this component's logic. Defaults to active user if not filled.
OutOfSightAngle Float disables the function of this component if the updating user is looking more than this many degrees away from this component's slot.
MaxTouchPenetrationDistance Float How far it can go into the touchable's collider before its not considered as touching.
CustomFilter delegate of identity Func`3<ICollider, Int, Bool> similar to UVRaycastPortal's Filter field. Internal.
UseUserSpaceForDistance Bool whether to use local space for distance or use absolute world distance for distance.
TouchDistance Float how far in meters that this can touch things
MaxDistance Float the maximum distance before hovering doesn't register
Offset Float3 the offset for everything this component does from the slot this component is on.
Direction Float3 the direction this can touch things.

Usage

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


Examples

Used on the index finger of user hands so that it can physically press buttons.

See Also