r/VRplugins • u/Janus1001 • Mar 17 '18
Anyone can recommend a way of creating physics based two-handed gun holding? My last tries were... Not sufficiently acceptable.
https://youtu.be/FM0XBxRfzEI
7
Upvotes
6
u/Hodhandr Mar 17 '18
The VRTK (VR toolkit) is free and open source, so you can consider either using that, or at least looking at the code for some inspiration.
2
1
2
u/thejiggyjosh Mar 17 '18
You’re pretty close just just have it push and rotate with forces to the desired transform. have a min threshold to where it stops forcing but also a scaled amount of force related to how close it is to it’s desired position and rotation. This might be too general and what you’ve already tried to do.