18-12-2019, 10:22 AM
(18-12-2019, 09:27 AM)cberinger Wrote: Hi Jose,
thanks for the info! But I currently do not know how to tackle this problem.
I rely on SteamVR(OpenVR) for handling VR interactions (i.e. grabbing). So moving the handle is currently not "in my power", or do you know how to change that?
Is there by chance a sample scene you made previously that uses SteamVR working/configured as you described to me?
To my knowledge I never changed any "update"-related settings in my project - so anybody who is working with SteamVR will initially be faced with this problem?
Cheers,
Christian
Hi Christian,
If you've dealing with physics, you can't update anything related to them in Update(). Must be done in FixedUpdate(), no way around that. It's two entirely different update loops. So anyone using SteamVR handling together with physics (be it Obi or any other engine) will be faced with this.
As far as I know, nothing stops you from writing your own grabber for SteamVR, and do anything you'd like in it. Here's an example:
https://wirewhiz.com/vr-grabbing-tutorial/