In the following LWJGL JAVA code:
if (window.isKeyPressed(GLFW_KEY_U)) {
Y += .3;
// x,y,z
camera.setPosition(0, 0, -5);
camera.setRotation(0, Y, 0);
}
How can I place a model at (0 , 0 , -2) that doesn't rotate, or equivalent.
Thanks,
Josheir
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!