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
0answers
26 views

How do I create cinematic (trailer like) shots of my game?

Background We are in the midst of developing a trailer for our game. It is a 3rd person adventure platformer. As such, the camera is an over the shoulder position, which is great for gameplay, but ...
0
votes
0answers
25 views

Rigidbody appears to jitter when placed as a sibling to a First Person camera

In my game, the Player can pick up an object (which gets parented to the first-person camera), or the player can push an object (which is parented to the player, but not their first-person camera). ...
0
votes
0answers
9 views

World coordinates on vertical grid game for different aspect ratios (Unity) [duplicate]

new to game development and unity so hopefully someone can help. I want to make a 2D portrait mobile game that will have a grid of constant size where units can move on in Unity. This should support ...
0
votes
0answers
13 views

Java clicking on tiles detection

I am making small isometric game, where I want to do something when user clicks a tile. I can simple do it by mouse location, but I want to be able for zooming and moving camera. It will be 2D game ...
0
votes
0answers
9 views

unity main camera align with view error

When I'm trying to to align the main camera with the scene view GameObject -> Align with view, I get the following error: transform.position assign attempt for 'Main Camera' is not valid. Input ...
0
votes
0answers
25 views

How to prevent weapon clipping WITHOUT camera stacking?

This is a FAQ, and answers involve camera stacking. I am not using a SRP. I do not want camera stacking as various post-processing instructions (e.g. FXAA, MSAA, etc) are all done on the active camera,...
0
votes
0answers
26 views

In Unity, how to hide objects from specific cameras without using Layers

The situation is that there are multiple players that can collect items. When a player collects an item, the item will disappear from that player's screen but still be visible to other players. I know ...
0
votes
0answers
28 views

Make 2d camera rotate around the player

I'm making a simple 2d javascript engine based on a scene graph (all game objects are containers whose children live inside their parent's coordinate space). My camera implementation works by setting ...
0
votes
1answer
52 views

Simplifying Camera Strafing

I have a camera that follows the position and direction of the player. These are updated using spin and velocity. The velocity is updated like so: ...
0
votes
4answers
187 views

What causes this z position change?

This is a follow-up on the following thread. I'm applying a code that will move an object just outside the camera's frustum. I have used the same code in other projects, and it worked fine. However, ...
2
votes
1answer
29 views

Multiple cameras using a single skybox with same perspective

I am using the enviro package for weather and to have a moving sun in the background. I'm building an installation with 3 screens and I want to have the sun track across the screens. However what I ...
0
votes
2answers
104 views

A two player game with a split screen

In the antique game spy vs. spy, two players play on a single computer. The screen is split, with each half showing the viewpoint of one player. Is it possible to create such an effect in Unity? The ...
0
votes
1answer
47 views

How do I properly use Unreal's Lens Distortion plugin?

I am trying to use UE's LensDistortion plugin (seems like it's bundled with the engine but only put to use in the Compositing sample project), and following the same workflow as the sample. ...
1
vote
0answers
36 views

Follow Camera to Two objects at different time

I am developing simple 2D game in unity. I am locked with the camera movement for last two days. I've camera script that is working as follows: Follow the player to X and Y direction If player stops ...
0
votes
0answers
13 views

Import blender camera with key frames to unity?

I am wondering if I can take a camera tracked camera from blender and import it into unity. Is there any way to do this? Please let me know! Thanks in advance.
0
votes
0answers
50 views

Camera looking around with mouse - Unity, C#

I am building a script in C# for camera logic in Unity, the camera is supposed to follow the player (a 3rd person character) around and the user should be able to look around using the mouse, so far ...
0
votes
1answer
84 views

What program was used in Kojima's Death Stranding to create the 3D scans of people? [closed]

I've been unable to find out what program Hideo Kojima used to create his 3D scans of people in his game Death Stranding and presumably Metal Gear V as well. Here is a video of the scanning in ...
0
votes
0answers
54 views

How do I prevent camera jitter when rotating the player - Unreal?

This is a problem that seems to have no reasonable answer anywhere around, yet is a commonly needed aspect of developing game mechanics. Context I'm developing a traditional 3rd person character ...
0
votes
0answers
24 views

Fix camera vector

What I am doing wrong, I have transformed the world camera's vectors with the camera matrix but when I am doing several rotation with the camera ingame, the vector are messed up, they don't move me ...
10
votes
1answer
140 views

Möbius effect in Unity

This morning I've seen the following animation on Twitter. It is a kind of Möbius strip effect. It's cool! Isn't it? So I've decided to build something similar using Unity, just for fun. I want to ...
0
votes
0answers
35 views

Unity 2D Cinemachine weird behavior for non rectangular confiner

I have been trying to emulate a sort of Megaman X4 way of following the player around platforming levels, where the camera is confined to certain boundaries of such levels. However, all the tutorials ...
0
votes
0answers
59 views

Unity Perspective Camera Width & Height In Visible World Units

I'm attempting to create 90 degrees top-down scenes where I'm working with a 4k or larger camera. What I'm trying to do is drop a script on the main camera and have a debug line that updates the main ...
0
votes
0answers
25 views

Parallax effect jitter in libGDX

Basically I'm using this ParallaxCamera class to create the effect in my game, but upon movement, the layers "wiggle". This is especially noticeable when the camera is moving slowly. I have fixed the ...
1
vote
2answers
88 views

Why does my first person camera attached to a rigid body vibrates?

I'm trying to make a first-person character with a rigid body. I need a rigid body because I want to add areas where the gravity comes from different directions so I also need to rotate the character ...
6
votes
0answers
207 views

How does a game like Enter the Gungeon handle forward and backwards movement with their orthographic set up?

So I've been scratching my head at this problem for over a week now, and would love some insight from anyone who might know a bit more. In my game I have the floor flat on the X/Z plane with walls/...
0
votes
1answer
66 views

Moving my character/camera makes environnement jerky

I'm learning to make a Tilebased game with Unity and for that I use the Zelda alttp assets. I just have Tiles, a Camera and a moving Character with a rigidbody2D and a CircleCollider. When the Camera ...
0
votes
2answers
31 views

How do I get my scene view back to 0 or whatever it is by default?

All my tiles/sprites have 0 as their position on the Z axis, except my main cam which has -10. For some reason I suddenly couldn't zoom in without everything disappearing, I switched to 3D view to ...
0
votes
1answer
27 views

How to Bring the Scene View Camera Controls into Game View

I've got a scene with a big sphere in the centre (the Earth) and a lot of smaller spheres around (the stars). Above is a screengrab in Scene View with the camera in the Front View position. I really ...
0
votes
1answer
57 views

How to place a camera so that it always fits a plane?

I have a plane that can get its scale changed during the game, and I want to make the camera view it completely every time the plane has its scale changed. The only camera is set to perspective ...
0
votes
1answer
53 views

How to create video from camera?

I have a 3d scene and a camera; I want to create video file from camera pre-set movements. If it is possible, running application by command line (without needed to "show" at video, my camera) . Is ...
0
votes
2answers
53 views

How do I remove the objects when it is not seen on the camera?

I am a beginner C# Developer and I am creating my own version of the "No Internet Dinosaur Game." How do I remove the Object like (Platforms, Cactus, etc.) When it is not seen on the camera?
0
votes
1answer
22 views

VR Camera and Hands height

Using the Oculus Rift S, I just added OVRCameraRig and LocalAvatar or OVRPlayerController and when I press play I feel like I'm not as high as I want in my vision and hands, I change the position of Y ...
1
vote
0answers
57 views

How can I apply my camera to all graphics objects?

Is there a way to have the camera be applied to all objects? Can you have the camera effect objects that where made with glVertex3f(); This is the fourth time I ...
0
votes
1answer
52 views

Unity Tilemaps not Rendering as I move camera

As I move the main camera in my Unity game towards the left or right, the camera just stops rendering any of the tilemaps in the scene. Here, the camera is at x = 25.7, and the preview isn't showing ...
0
votes
0answers
22 views

How to avoid camera jerkiness when using integer-based movement with a remainder?

I am experimenting with a low-res project in GameMaker 2. To preserve the pixel art and prevent distortion, I have my movement code set up to only move my sprites in integer intervals. Basically, ...
0
votes
0answers
13 views

Howto setup screen with cameras and viewport to achieve splitscreen as specified (LIBGDX)

I played around with cameras and viewports, but all my settings had no effect. Also read several topics about this, but still don't understand the concept. What I want to achieve is what I show on ...
0
votes
0answers
8 views

Camera rotates without camera reference

I have the camera set to go behind the object called "cameraS" and set it's x rotation to that object, and to move forward and backward along the axis behind the object. For some reason, when it moves ...
0
votes
1answer
49 views

Setting SteamVR Camera Target Eye before SteamVR installed in Unity

I'm writing a plugin that can be used in both VR and non-VR projects. I have a Camera that is used to display UI containing some game info on a secondary monitor. My problem is that when the end-user ...
1
vote
0answers
26 views

RTS camera acceleration

I have an RTS game with a camera that can be controlled by either edge-pan, gamepad analog stick or keyboard buttons (WASD). The speed and snappiness are good for the general case, but sometimes feels ...
0
votes
0answers
54 views

How can I get my entire game to scale based on screensize?

I'm currently building a 2d mobile game and I'm currently stuck trying to get my game to scale with screen sizes. Currently my background is scaled to 1920 X 1080. When I run the game on my Galaxy S10+...
0
votes
1answer
23 views

I created a preview of my player camera with another camera but when disabling the main menu it show no cameras exist why?

I created a Render Texture named it : GUICameraRenderTexture This is a screenshot of the Player camera : I assigned to the Target Texture the new GUICameraRenderTexture : Then on the bottom of the ...
0
votes
1answer
31 views

When I press play in my scene, the camera turns in the opposite direction?

In my scene, I have my character facing a certain direction, with a camera attached. Now, when I press play, for some reason, the character immediately faces the other way. I've tried turning the ...
0
votes
0answers
17 views

Setting a 2D Polygonal Collider to Camera Size

I'm trying to resize a polygonal 2d collider to the size of the camera. Here's what I've got so far: ...
0
votes
2answers
77 views

FPS-like mouse-look camera WinAPI problem

I have a problem with implementing mouse-look camera movement, like in FPS games. For me common solution is: Process WM_MOUSEMOVE event in ...
0
votes
2answers
152 views

Unity3D - Camera Jitters When Displacing and Rotating Smoothly

DISCLAIMER: I am using Unity 5.6.5f1 for this code, I honestly don't know if there would be API updates on later versions, though I don't think so. I tried to make a simple Third Person Camera that ...
0
votes
1answer
35 views

How to draw a rectangle with a border pixel over a camera/viewport?

With this code I intended to visually delimit the complete view of the circuit and the two controlled cars: ...
0
votes
1answer
35 views

Unity - Apply different Near/Far clip plane value for different layer

I am Lerping the Near value of my camera, from 0 to 38, and it gives this result: change near clip plane effect As you see, it gives a nice effect. But now I would like the effect to occur only for ...
0
votes
0answers
39 views

Confused on graphics rendering

Implementing a viewport is just a rectangular space on the back buffer usually a 2d texture set to the size of the client window that we render to. However in direct3d when we describe the viewport ...
3
votes
1answer
82 views

Selected enemy off camera

I'm facing a problem with a game I'm making. Currently I can select an enemy and mark it as shown on the image: But now I want to show the position of the selected enemy on the screen when it's off ...
0
votes
0answers
42 views

Logic behind a cubic reflection

I'm creating a cube in WebGL made of mirros that have to reflect the object inside of it. At the moment I'm stuck because I don't understand the correct logic to implement to achieve the result. I ...

1
2 3 4 5
21