Definition at line 312 of file AVR_Grabbable.cs. 317 h.controller.HapticPulse(Mathf.Lerp(0, 0.5f, 0.2f * collision.relativeVelocity.magnitude), 0.05f);
328 float drag = rb.drag == 0.0f ? 0.5f : rb.drag; //If the rigidbody drag is 0, use 0.5. Otherwise, use that drag.
334 float terminalSpeed = Mathf.Sqrt(2.0f * mass * Physics.gravity.magnitude / airDrag * frontalArea * drag);
AudioSource source Optional AudioSource to play sounds from GrabbableObjectType data Definition: AVR_Grabbable.cs:33 List< AVR_BasicGrabProvider > AttachedHands List of hands that are currently grabbing this object. Definition: AVR_Grabbable.cs:44 GrabbableObjectType objectType Type that describes the objects behaviour when grabbed. Definition: AVR_Grabbable.cs:16 AudioClip collideSound Definition: GrabbableObjectType.cs:15 GrabbableObjectSoundData soundData Definition: GrabbableObjectType.cs:47 |