25-01-2023, 10:41 AM
(This post was last modified: 25-01-2023, 10:44 AM by josemendez.)
(25-01-2023, 10:24 AM)mustafagulsoy Wrote: Hi Josemendez,
Than you for answering.
When colliders doesn't move, it is okey, even I use your advices it gets better, but I am using Obi on Vr and I grab colliders so I can't use MovePosition() too , for this reason there is a alternative way to solve this?
In VR you can use MovePosition just fine (VR only affects how objects are rendered, but not how they move: physics don't care if your game is VR or not), however you might need to modify your interaction scripts if you're using third-party scripts for hands and/or grabbing objects.
It's simply not possible to move objects in a physically consistent way by directly setting their transform, as this ignores velocities completely.
kind regards,