Glorious, thank you!
One thing I'm uncertain of is when I should call camera->updateAbsolutePosition(). Is it something I should do before calling getPosition() or after setPosition()? When should it be used?
Search found 2 matches
- Sat May 21, 2016 8:17 pm
- Forum: Beginners Help
- Topic: How to move the camera along its local axis?
- Replies: 4
- Views: 906
- Sat May 21, 2016 2:25 pm
- Forum: Beginners Help
- Topic: How to move the camera along its local axis?
- Replies: 4
- Views: 906
How to move the camera along its local axis?
How to move the camera along its local axis?
I want to move the camera 1 unit along its local x axis as if it were strafing along to the direction that it's looking.
If I add 1 to the X value of camera->setPosition() it instead moves along what I think is the global axis; it also doesn't account ...
I want to move the camera 1 unit along its local x axis as if it were strafing along to the direction that it's looking.
If I add 1 to the X value of camera->setPosition() it instead moves along what I think is the global axis; it also doesn't account ...