 | InteractableEngageableDetectionFindInteractableObject Method (Vector3, Single, Single) |
Gets the closest EngageableObject to a position
Namespace:
ImmerseSDK.Interaction
Assembly:
ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
SyntaxParameters
- center
- Type: UnityEngine.Vector3
Target position - maxDistance
- Type: SystemSingle
Maximum distance to search - closestDistance
- Type: SystemSingle
The distance to the object returned (if applicable)
Return Value
Type:
IInteractableObjectReturns the closet EngageableObject to the input vector
See Also