API reference
API reference
Select your platform
No SDKs available
No versions available

IThrowVelocityCalculator Interface

Defines the core functionality for calculating throw velocities in the Interaction SDK.
This interface provides the essential method for computing release velocities of thrown objects.
Note: This interface is marked as obsolete. Use Oculus.Interaction.Grabbable instead.

Methods

CalculateThrowVelocity ( objectThrown )
Calculates the release velocity for a thrown object based on its transform and recent motion history.
Signature
ReleaseVelocityInformation Oculus.Interaction.Throw.IThrowVelocityCalculator.CalculateThrowVelocity(Transform objectThrown)
Parameters
objectThrown: Transform  The transform of the object being thrown.
Returns
ReleaseVelocityInformation  Velocity information containing linear velocity, angular velocity, and origin point of the throw.