frustra / strayphotons

Stray Photons is a high performance game engine with a focus on immersive VR experiences. Featuring full-hand physics interaction, seamless asynchronous scene Loading, fully interactive global illumination lighting, powerful game logic and scripting capabilities, and much more.

Home Page:https://docs.strayphotons.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VR hands can be unstable in certain conditions

xthexder opened this issue · comments

I believe this is due to the hand's inertia changing over time, but it may just be due to an incorrect implementation of inertia tensors.
Likely the best solution to this would be to allow overriding the hands with another shape's inertia that is more stable (like a sphere).

The current hacky solution is here:
https://github.com/frustra/strayphotons/blob/master/src/physx/physx/ConstraintSystem.cc#L77
https://github.com/frustra/strayphotons/blob/master/src/physx/physx/ConstraintSystem.cc#L287