Questions tagged [camera]
Game worlds are viewed from a camera, which is the viewpoint from which the game world is observed from.
1,225 questions
0
votes
0
answers
29
views
How does Cube Slam uses the camera for gameplay?
Cube Slam is a unique multiplayer game that allows players to compete against each other in a face-to-face format simply by sharing a link. The game utilizes the camera for interactive gameplay, ...
1
vote
1
answer
304
views
Why don't more top-down 3D games use an oblique projection, instead of tilting their models and sprites?
I'm making a 2D game in Unity that is set-up in 3D similarly to Enter the Gungeon, where I have an orthographic camera rotated 45 degrees. This makes sprites look wrong and I've seen two main ways to ...
0
votes
1
answer
27
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
0
answers
63
views
Camera Shake Issue in UE5
I'm experiencing unexpected camera behavior while implementing a camera shake effect in my first-person project. After adding the camera shake, the camera is not behaving correctly (the camera is not ...
0
votes
2
answers
46
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 ...
0
votes
0
answers
32
views
Unknown light source in viewport when camera projection is orthogonal
I'm using Godot/Redot for my game development but so far this happens when camera projection is orthogonal, there's unknown light following the viewport when the camera is moving.
Here's the example
...
2
votes
1
answer
107
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
0
answers
20
views
Adjusting Minimap Camera Viewport Indicator to Account for Occlusion of Camera by UI
I am working on a 2D RTS game in Unity. One thing I want to represent is a minimap indicator that shows the camera's viewport. I got it working, but it doesn't reflect how the camera is occluded by ...
0
votes
1
answer
131
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 ...
0
votes
1
answer
45
views
Coins Not Moving to Canvas Position When Camera Moves
I am currently developing a 2D game in Unity, and I'm having an issue with moving coins to a specific position in the UI Canvas when they are spawned. I want the coins to animate from their spawn ...
1
vote
3
answers
201
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
1
answer
44
views
Problem with 2D projection
I have a green circle:
Inside the circle, the white frame moves to wherever P, the projection of the targets 3D position into a 2D point, is.
However, outside the circle, the frame will move to the ...
0
votes
0
answers
75
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'...
0
votes
0
answers
53
views
Issue raycasting when direction vector nears zero in x and z axis
I am working on a voxel game right now in OpenGL and working on implementing raycasting so I can pick blocks in my world. So far what I have created works quite well except for when the x or z axis ...
0
votes
0
answers
23
views
I need to implement a button which when clicked will switch to a third person camera of the sphere and follow it as it moves
Basically what the title says, I need to implement a button which when clicked will switch to a third person view of the sphere and follow it as it moves, but have no idea how to achieve this. Been ...