Component:MultiUserAvatarAnchor: Difference between revisions

From Resonite Wiki
clarify
add info about this not being an IAvatarAnchor in of itself
Line 11: Line 11:
== Introduction ==
== Introduction ==
Multi User Avatar anchor allows you to auto generate anchors, but only if you have a [[Component:AvatarAnchorTouchTrigger|Avatar Anchor Touch Trigger Component]] on the same slot as the [[Collider|collider]] and the multi anchor has to be the same slot as well. It uses an [[Type:IAvatarAnchor|IAvatarAnchor type]] component as a template, and generates them in a shape based on a Snapper ([[Component:SnapCircle|Snap Circle Component]] or [[Component:SnapSphere|Snap Sphere Component]] to name a couple).  
Multi User Avatar anchor allows you to auto generate anchors, but only if you have a [[Component:AvatarAnchorTouchTrigger|Avatar Anchor Touch Trigger Component]] on the same slot as the [[Collider|collider]] and the multi anchor has to be the same slot as well. It uses an [[Type:IAvatarAnchor|IAvatarAnchor type]] component as a template, and generates them in a shape based on a Snapper ([[Component:SnapCircle|Snap Circle Component]] or [[Component:SnapSphere|Snap Sphere Component]] to name a couple).  
This component doesn't fall under a [[Type:IAvatarAnchor|IAvatarAnchor type]], and as such cannot be referenced by ProtoFlux. This means you can only anchor users with this component if they explicitly click on the anchor. it also doesn't give confirmation for the action, which may also be a bug.


Currently, it only accepts out of sight physical touch or remote touch regardless of settings. May be a bug.
Currently, it only accepts out of sight physical touch or remote touch regardless of settings. May be a bug.

Revision as of 07:58, 29 February 2024


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


Component image 
MultiUserAvatarAnchor component as seen in the Scene Inspector


Introduction

Multi User Avatar anchor allows you to auto generate anchors, but only if you have a Avatar Anchor Touch Trigger Component on the same slot as the collider and the multi anchor has to be the same slot as well. It uses an IAvatarAnchor type component as a template, and generates them in a shape based on a Snapper (Snap Circle Component or Snap Sphere Component to name a couple).

This component doesn't fall under a IAvatarAnchor type, and as such cannot be referenced by ProtoFlux. This means you can only anchor users with this component if they explicitly click on the anchor. it also doesn't give confirmation for the action, which may also be a bug.

Currently, it only accepts out of sight physical touch or remote touch regardless of settings. May be a bug.

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.
AnchorPointSnap IPointSnappable A Snappable from snapping category
MaxUsers Int the maximum users that can be in this multi anchor
MinDistance Float
Template IAvatarAnchor The IAvatarAnchor to use as a template for making anchors. will duplicate the slot the anchor is on that this is referencing
AnchorsRoot Slot where to put the anchor slots when they are generated.
AcceptOutOfSightTouch Bool
AcceptPhysicalTouch Bool
AcceptRemoteTouch Bool

Behavior

Examples

Related Components