Questions tagged [camera]
Game worlds are viewed from a camera, which is the viewpoint from which the game world is observed from.
1,222 questions
0 votes
0 answers
119 views
Why does this code behave strangely with different camera angles?
Relevant to this issue are two MonoBehaviour scripts: Actor and Player. ...
0 votes
1 answer
157 views
Is the "View transform" just a change of basis matrix + a translation applied to each point? (to bring them into camera space)
I am learning about the graphics pipeline. My understanding of the view transformation is that you: First create a normalized, separate coordinate system for the camera, based on its position and ...
0 votes
1 answer
76 views
Computing camera attitude so points along/follows spline
Assuming I have a spline that I want a camera to follow, is there a simple way to compute the orientation of the camera such that its optical center aligns with the vector defining the derivative of ...
0 votes
2 answers
96 views
Position camera to 'head' joint's position in skeletal animation
Finished this great tutorial on skeletal animation: https://learnopengl.com/Guest-Articles/2020/Skeletal-Animation All works as expected, no issues! Here is what matrixes I use to achieve skeletal ...
2 votes
1 answer
176 views
How can I use multiple monitors in Unity?
I am trying to work with two monitors; I want to have two cameras in my scene, such that each camera projects to a different monitor. I tried to follow this guide, which says that I have to change the ...
0 votes
1 answer
299 views
How to blend camera when switching between 2 characters?
I'm trying to set up a system in UE4.27 where I can switch between 2 characters. It works but when I tried to include a camera blend, it still switches character but the camera just jumps and doesn't ...
1 vote
3 answers
343 views
How to implement a 2D toroidal map?
I want to implement a toroidal world (all edges "wrap", the map repeats infinitely across its edges). My world is basically a 2D rectangle (it's a 2D game) divided into a grid. The part I'm ...
0 votes
0 answers
89 views
Why distant objects are becoming white when camera is still?
I have a shader attached to quads that I'm generating far away using script. The quad is capable of keeping the color when camera is moving however the color becomes white when camera is still. I can'...