22 Commits over 0 Days - ∞cph!
Grab reference rotation offset reflects rotation across YZ (still not perfect)
Add arrow to VrSimulator hand, fixed rotation offset with right hand
DualGrabObject: Can't grab same ref if we're holding already
Add DualGrabObject.UseAveragePosition so we can compare if it's shit or not
Can get hand preset per hand from a grabbable - can detach hand mesh and place it onto an object if you want
Small refactors to hand grabbing API, add WantsKeyboardInput for outside of VR hand input so we can test dual interactions
WIP DualGrabObject (shitty code)
Update minimal.scene
Proper rotated offset
Don't need this
Grabbables can define a hand preset, use grab reference to position SimpleObject
account for offset when holding in different hand
GrabReference [not hooked up yet] https://files.facepunch.com/tony/1b1111b1/sbox-dev_GTh0Xc9JsD.jpg
Add DefaultGrabbable so we can set the held item immediately
Add toggle mode for hand input, grip/trigger pressed/released detection
Calculate hand's velocity outside of VR
Hand grabbing / releasing WIP
Implement roll controls, add some debug output while using the simulator
Started coding a VR simulator, because VR development sucks when you enter the headset
Body fwd translation based on duck height
Extremely basic body root translation based off HMD
Initial commit, testing out body IK, auto-ducking, started setting up hands and hand animations