|
VR Interaction Framework
1.0
A vr framework for the Oculus Quest
|
Constrain a magazine when it enters this area. More...
Public Member Functions | |
| void | OnGrabClipArea (Grabber grabbedBy) |
Public Attributes | |
| Grabbable | AttachedWeapon |
| The weapon this magazine is attached to (optional) More... | |
| float | ClipSnapDistance = 0.075f |
| float | ClipUnsnapDistance = 0.15f |
| Grabbable | HeldMagazine = null |
| float | MagazineDistance = 0f |
| AudioClip | ClipAttachSound |
| AudioClip | ClipDetachSound |
Constrain a magazine when it enters this area.
Attaches the magazine in place if close enough.
| void BNG.MagazineSlide.OnGrabClipArea | ( | Grabber | grabbedBy | ) |
| Grabbable BNG.MagazineSlide.AttachedWeapon |
The weapon this magazine is attached to (optional)
| AudioClip BNG.MagazineSlide.ClipAttachSound |
| AudioClip BNG.MagazineSlide.ClipDetachSound |
| float BNG.MagazineSlide.ClipSnapDistance = 0.075f |
| float BNG.MagazineSlide.ClipUnsnapDistance = 0.15f |
| Grabbable BNG.MagazineSlide.HeldMagazine = null |
| float BNG.MagazineSlide.MagazineDistance = 0f |