HingeEngageableObject Class |
Namespace: ImmerseSDK.Interaction
public abstract class HingeEngageableObject : EngageableObject
The HingeEngageableObject type exposes the following members.
Name | Description | |
---|---|---|
HingeEngageableObject | Initializes a new instance of the HingeEngageableObject class |
Name | Description | |
---|---|---|
Joint |
The Joint associated with this hinge
| |
JointAnchor |
The joint anchor position in world coordinates
| |
Sensitivity |
Sensitivity of movement that is applied (acts like a dampener).
Note this is applied to both angular movement and positional movement.
(Overrides EngageableObjectSensitivity.) |
Name | Description | |
---|---|---|
Awake | (Overrides EngageableObjectAwake.) | |
GetAverageDirectionOfMovementForPositionUpdate |
Default direction is from interaction point to controller
(Overrides EngageableObjectGetAverageDirectionOfMovementForPositionUpdate.) | |
GetDirectionOfMovementForPositionUpdate |
Default direction is from interaction point to controller
(Overrides EngageableObjectGetDirectionOfMovementForPositionUpdate(Int32).) | |
IsMovementVelocityValid |
Checks whether the vector passed in is valid - checks for Nan, and that it's magnitude is greater than Mathf.Epsilon
(Overrides EngageableObjectIsMovementVelocityValid(Vector3).) | |
OnDrawGizmos |
Unity Component Method
(Overrides EngageableObjectOnDrawGizmos.) | |
RestrictPosition |
Restrict position so that hinge cannot be moved
(Overrides EngageableObjectRestrictPosition(Vector3).) | |
SetInteractionTargets |
Sets the interaction target on the controller
(Overrides EngageableObjectSetInteractionTargets(Controller).) |
Name | Description | |
---|---|---|
_sensitivity |
Sensitivity of movement that is applied (acts like a dampener).
Note this is applied to both angular movement and positional movement.
|
Name | Description | |
---|---|---|
GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) | |
WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |