All Questions
Tagged with trigonometry opengl
6 questions
0
votes
0
answers
103
views
Well tuned orbit camera
I have been trying to make an orbit camera using glfw. I got a working solution which is as in the following.
...
2
votes
3
answers
1k
views
Calculate target angle to a certain Vector
I'm developing a 3D game in LWJGL.
I have a player class and a monster class and I need the monster class to chase the player when the player is within a certain distance.
For that I have the monster ...
2
votes
1
answer
3k
views
OpenGL Arc-Ball Camera Yaw Pitch GLM::Rotate
I'm currently working on a small Voxel-Editor Project. In the editor, I plan on using an Arc-Ball camera which rotate around the model. My camera is currently working but in an odd way. I can't seem ...
0
votes
3
answers
2k
views
Calculating Projectile Movement
I'm having some trouble putting together a method that will constantly move a "bullet" in the same direction accurately. Here is what I have so far
...
1
vote
0
answers
238
views
3D Camera Y-Axis wrong angle
I am trying to build a camera class, though I am running into a problem. When I move the camera above/below, and try to move towards the ground, I am moved off in what seems to be about 45 degrees in ...
8
votes
2
answers
15k
views
How to rotate camera centered around the camera's position?
Currently I am using gluLook at like so:
...