Godot Version
4.3 beta 3
Question
Hi, many thanks for all the work on VR support in godot and the xr tools. Unfortunately, I’m having some positioning issues with my vr setup in Godot. I have a scene where I manually set the transform of a root node that follows a path in its _physics_process
. The root node has the XROrigin (and XRControllers etc) attached as children. However, when the root node “moves” at a high speed, the XRControllers start to lag behind. It looks like they are positioned relative to the root nodes position from the previous tick.
I thought this could be solved by the root node calling force_update_transform()
after setting the transform and assigning a priority of -100 or something to have it execute before the controllers do their positioning. Unfortunately, that doesn’t fix the issue. Maybe there’s some other solution to this?