im trying to set camera position with setPos and setHpr so that when the camera reaches a certain position in the environment, it’s reset to a starting origin. but no matter what i try, i always end up with some random starting point…
i’ve disabled mouse from conflicting with camera as well, so it seems to me that the movetask is being executed before the first render.
in addition to this, when the position input is of larger values, sometimes when the camera reaches the position indicating that it should teleport back to the origin, the camera will jump out of the environment…
yes, the issues have more or less been solved… half of it was that the walls of my environment were too thin, so that the collision detection failed when movement was too fast. the other half was that somehow, camera position was being updated quite a lot before the initial frame was rendered, so that the starting position was offset by this unrendered update in position.