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 end...
View ArticleHow to test for intersection of a cone with infinite camera frustum (no...
I have a given infinite camera frustum defined by four planes, each defined by a normal (left, right, bottom, top). From those planes we can also easily get the camera position and the view direction....
View ArticleHow to rotate a 3D object based on stick Input and the normal of the ground's...
I am making a game where I want to view an object from any angle and use an analog stick to rotate it according to this input and the surface the object is currently resting on. Here's a visualization...
View ArticleHow do I prevent camera jitter when rotating the player?
This is a problem that seems to have no reasonable answer anywhere around, yet is a commonly needed aspect of developing game mechanics.ContextI'm developing a traditional 3rd person character...
View ArticleHow to keep track of camera's rotation while it's being rotated?
I'm building a 2D game where the sole interaction of the player is rotating what they can see (this is currently the camera, though it could be the world) by plus or minus 60 degrees.My current...
View ArticleOrbiting a specific point - Orbiting Camera
How would I create a camera that with the mouse, it allows you to orbit around a specifc position, with the camera always facing that point? I would also like it to be able to always be at a constant...
View ArticleHow do I add a function to the sequence of functions which runs pre camera...
In unity you can do:Camera.onPreCull += OnPreCullCamera;void OnPreCullCamera(Camera3D cam){//...}But in Godot I don't know what the equivalent is. How do you add a function to the sequence which takes...
View ArticleGet coordinates of clicked point on screen in model space
There is a 2D object located in the coordinate range -1 to 1. In world space, it is also located in these coordinates, but with a shift along the z axis.The actual initialization of the model, view and...
View ArticleHow do I fix my planet-facing camera?
SummaryI'm having trouble implementing a camera controller suitable for first person use around a planet. The camera needs to be oriented correctly according to gravity (vector from camera position to...
View ArticleSmooth player input direction when changing camera
I'm working on an exercise using fixed cameras like how they work in the PSX final fantasy games. I have the camera scripts working fine but it's an aspect of the character control that I'm struggling...
View ArticleRotate camera around its center in 2D
I'm currently trying to develop my own little game engine (trying to understand maths in games).I have implemented 4x4 matrices and 2d vectors (I don't need 3d since I'm aiming at orthographic...
View ArticleNeed an option to send camera output as video or frames in Unity3d 2017
Tools I've used in Unity 5.x are breaking my 2017 scene... and I do not see a way to output video or frames from Cinemachine (although I am trying to understand all of its features).What is the best...
View ArticleUnity RB Controller Jitter on a Moving Platform
Brief Description: I have a RB based character controller that I want to move along with my Train platform (non physics based) when the player steps on it.Main ProblemI manage to make the player follow...
View ArticleVertex Displacement Shader Graph With The Camera Moving Issue
I have a foliage sway shader, that works well.But when the camera moves the vertex displacement stops:And the weird thing also is that if I move the camera to the right nothing seems to happen, but...
View ArticleHow to achieve smooth camera dragging with the mouse in SDL2?
I am working on a 2D isometric perspective game using SDL2 and I would like to implement the ability to pan the map when the right mouse button is held down.I was wondering what is best way to set this...
View ArticleHow can I orbit a camera about it's target point?
I'm drawing a scene where the camera freely moves about the universe. The camera class keeps track of the view (or look at) point, the position of the camera, and the up vector. These vectors/points...
View ArticlelibGDX using Stage and Actor produces different camera angles on desktop and...
libGDX using Stage and Actor produces different camera angles on desktop and Android Phone.Here are pictures demonstrating the problem: http://brandonyuh.minus.com/mFpdTSgN17VUqOn the desktop version,...
View ArticleLibGdx Positioning the camera
I've been following some tutorials about libGdx and I've tried to create a 2d platformer but I've got stuck at how would be the right way to make the camera not go out of the screen when the player...
View ArticleHow 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,...
View ArticleHow to achieve camera zoom-In effect and locking view during NPC Interaction...
I am currently working on an interactive game in Unity 3D where, upon pressing the "E" key, the player character interacts with an NPC. During this interaction, I aim to implement a camera zoom-in...
View Article