AddForceOnDisengagedReaction Class |
Namespace: ImmerseSDK.Interaction.Reactions
[UnityEngine.DisallowMultipleComponent] public class AddForceOnDisengagedReaction : LocalEngageableObjectReaction
The AddForceOnDisengagedReaction type exposes the following members.
Name | Description | |
---|---|---|
AddForceOnDisengagedReaction | Initializes a new instance of the AddForceOnDisengagedReaction class |
Name | Description | |
---|---|---|
ApplyDefaultForce |
Applies a default force to a disengaged object
| |
ApplyForce |
Applies a specified force to a disengaged object
| |
OnEngage |
Applies a force to an object using the values set in the inspector when the object has been disengaged
(Overrides LocalEngageableObjectReactionOnEngage(Boolean, Controller).) | |
React |
This method is called when the reaction occurs. Note this might be called on a Coroutine if you specified a delay.
(Overrides ReactionReact.) |
Name | Description | |
---|---|---|
_additionalVelocityMultiplier |
How much of the actual velocity is added as additional velocity
| |
_angleToApplyVelocity |
Angle to use for projecting forward and up
| |
_flickForwardAngledMagnitude |
How much of the actual velocity is added as additional velocity
| |
_flickForwardMagnitude |
How much of the actual velocity is added as additional velocity
| |
_flickUpMagnitude |
How much of the actual velocity magnitude is added as a flick velocity
| |
_numberOfFramesForAverageVelocity |
The number of frames (up to max 30) to use for calculating the average velocity
| |
_useAverageVelocity |
use average velocity as the force amount?
| |
_velocityMultiplier |
The actual velocity is scaled by this much before being added
|
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.) |