Skip to main content
Game Development

Questions tagged [camera]

Game worlds are viewed from a camera, which is the viewpoint from which the game world is observed from.

Filter by
Sorted by
Tagged with
0 votes
0 answers
95 views

Why does this code behave strangely with different camera angles?

Relevant to this issue are two MonoBehaviour scripts: Actor and Player. ...
0 votes
2 answers
110 views

Camera Snapping instead of panning

I am trying to make a camera system for a 2D platformer, with three camera modes to begin with: Follow, normally following the player Horizontal: Y is set, X follows player Static: Locked to a certain ...
0 votes
1 answer
126 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 ...
1 vote
1 answer
547 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
52 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
105 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
82 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
44 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
150 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
25 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
252 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
62 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
287 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
71 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
82 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'...
Shromi's user avatar
  • 115

15 30 50 per page
1
2 3 4 5
...
82

AltStyle によって変換されたページ (->オリジナル) /