Protected
_dragProtected
_planecastProtected
_previousReturns the current vector associated to a dragging movement since the last frame, and null if not dragging
Returns the current targeted interactable or null.
Returns the current trigger value
If disabled, the Component will stop enacting its behavior.
Protected
indirectDefines the interactor's input type. This can be used for prioritization or for discerning controller vs hands.
Protected
interactionCalled whenever the Interactor changes the target Interactable
Returns the nullable drag vector, computed in the previous frame
Returns the previous targeted interactable or null.
Returns the previous trigger value
Readonly
sceneThe scene object this component is on.
Readonly
uniqueReturns the targeting mode used to obtain the targeted interactable
Deprecated
in favor of using targetHitInfo Returns the distance to the current target in cm
Used to define the type of drag vector that the interactor is invoking. By default, interactor drag vectors will be as SixDof drags.
Used to define the type of drag vector that the interactor is invoking. By default, interactor drag vectors will be as SixDof drags.
if the Interactor is currently drawing a debug gizmo of collider/raycasts in the scene.
Set if the Interactor is should draw a debug gizmo of collider/raycasts in the scene.
Returns a normalized value from 0-1, where 0 is the lowest strength and 1 the highest. Returns null if the strength cannot be computed.
Returns the maximum raycast length for world targeting in cm
Protected
planecastReturns the InteractableHitInfo describing the intersection with the current target This includes information such as the intersection position/normal, the Interactable, the collider, etc
Protected
clearProtected
clearProjects the direct collider's position onto the plane defined by the Interactable's forward vector / origin
the Interactable used to define the plane of intersection
the direct collider's position projected onto the plane
Adds a new SceneEvent, triggered by eventType
events, to the ScriptComponent.
Protected
getReturns the SceneObject the component is attached to.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
Calculates the intersection of the Interactor's indirect raycast and the plane defined by the Interactable's forward vector / origin
the Interactable used to define the plane of intersection
the intersection point of the indirect raycast and plane
Removes a previously added SceneEvent from the ScriptComponent.
Protected
updateStatic
get
Interactor for the Mobile Controller