Altering a property of DrawTexturedModel on every loop of the VR corridor #1719
Unanswered
sanikprogramist
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone, I am using a modified version of the VR-Corridor demo (scroll with the mouse wheel, move a camera through a corridor-like environment).
I have a 3D object (ideally, many objects), which appears along the corridor, and I want this object's X coordinate to change every time you reach the end of the corridor and loop back to the start. This is my attempt:
This currently draws the object with some X coordinate that I think it remembers from the previous session, then after the first loop it changes its position, but on subsequent loops it just stays where it is. How can I make the object appear in different X locations every loop, and not just the first loop? Thank you very much!
Here's the full workflow:
alex corrdior new.zip
Beta Was this translation helpful? Give feedback.
All reactions