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

ThrowPhysicsProfile Class

Extends ScriptableObject
A ScriptableObject that defines the physics behavior for thrown objects when used with ThrowTuner.
This profile contains settings for velocity modification, rotation behavior, drag, and continuous flight forces.

Fields

AlignForwardOnce : bool
Gets whether to instantly align forward direction with velocity at throw time.
Signature
bool Oculus.Interaction.Throw.ThrowPhysicsProfile.AlignForwardOnce
AngularDrag : float
Gets the angular drag coefficient.
Signature
float Oculus.Interaction.Throw.ThrowPhysicsProfile.AngularDrag
EnableBuiltIns : bool
Gets whether built-in continuous forces are enabled.
Signature
bool Oculus.Interaction.Throw.ThrowPhysicsProfile.EnableBuiltIns
ForwardLerpSpeed : float
Gets the speed of continuous velocity alignment.
Signature
float Oculus.Interaction.Throw.ThrowPhysicsProfile.ForwardLerpSpeed
GravityScale : float
Gets the gravity scale multiplier.
Signature
float Oculus.Interaction.Throw.ThrowPhysicsProfile.GravityScale
KeepForwardToVelocity : bool
Gets whether to continuously align forward direction with velocity during flight.
Signature
bool Oculus.Interaction.Throw.ThrowPhysicsProfile.KeepForwardToVelocity
LinearDrag : float
Gets the linear drag coefficient.
Signature
float Oculus.Interaction.Throw.ThrowPhysicsProfile.LinearDrag
LocalConstantForce : Vector3
Gets the constant force applied in local space.
Signature
Vector3 Oculus.Interaction.Throw.ThrowPhysicsProfile.LocalConstantForce
LocalConstantTorque : Vector3
Gets the constant torque applied in local space.
Signature
Vector3 Oculus.Interaction.Throw.ThrowPhysicsProfile.LocalConstantTorque
LocalVelocityDamping : Vector3
Gets the velocity damping factors per second in local space.
Signature
Vector3 Oculus.Interaction.Throw.ThrowPhysicsProfile.LocalVelocityDamping
MaxSpeed : float
Gets the maximum speed limit for thrown objects.
Signature
float Oculus.Interaction.Throw.ThrowPhysicsProfile.MaxSpeed
MaxSpin : float
Gets the maximum angular speed limit for thrown objects.
Signature
float Oculus.Interaction.Throw.ThrowPhysicsProfile.MaxSpin
SpinAdd : Vector3
Gets the spin addition applied in local space.
Signature
Vector3 Oculus.Interaction.Throw.ThrowPhysicsProfile.SpinAdd
SpinScale : Vector3
Gets the spin scale multiplier applied in local space.
Signature
Vector3 Oculus.Interaction.Throw.ThrowPhysicsProfile.SpinScale
VelocityAdd : Vector3
Gets the velocity addition applied in local space.
Signature
Vector3 Oculus.Interaction.Throw.ThrowPhysicsProfile.VelocityAdd
VelocityScale : Vector3
Gets the velocity scale multiplier applied in local space.
Signature
Vector3 Oculus.Interaction.Throw.ThrowPhysicsProfile.VelocityScale