Click or drag to resize

AddForceOnDisengagedReactionOnEngage Method

Applies a force to an object using the values set in the inspector when the object has been disengaged

Namespace:  ImmerseSDK.Interaction.Reactions
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public override bool OnEngage(
	bool engaged,
	Controller controller
)

Parameters

engaged
Type: SystemBoolean
Determines whether the object has been engaged or disengaged
controller
Type: ImmerseSDK.ControllersController
The controller that has engaged / disengaged the object

Return Value

Type: Boolean
True if this component reacted sucessfully to the object being disengaged, otherwise false
See Also