Questions tagged [first-person-shooter]
A 3D or pseudo-3D action game genre categorized most famously by its first-person perspective and a bias towards ranged projectile combat.
196 questions
0 votes
0 answers
89 views
How to Implement Ray Casting and Aim Assist Scaling in UE5 Using C++ for FPS Mechanics?
I'm developing an FPS shooter in Unreal Engine 5 and currently working on the aiming mechanics for keyboard and mouse (KBM). I want to implement an aim assist system that uses ray casting to detect ...
0 votes
1 answer
142 views
Why am I getting stuck to a Platform (AnimatableBody3D) with Jolt3D?
I'm using Jolt 3D Physics for Godot, and my FPS character controller occasionally gets stuck to a platform moving with an AnimatableBody3D. Sometimes I get stuck to ...
0 votes
1 answer
208 views
I want to limit my in-game FPS in my Unity game to 20 FPS, but this causes screen tearing in the build. How do I get rid of the tearing?
I have tried vSync, but in other forums I have read the vSync ignores the targetFramerate. Is there a way I can keep a 20 FPS cap without screen tearing? In my game I am trying to achieve a nostalgic ...
0 votes
0 answers
77 views
First person jump only works at certain angles
I'm making a basic 3D First Person project using the movement code below, but I can only jump at a certain angle. How can I fix this so that my character can jump anywhere? ...
0 votes
0 answers
264 views
6DoF camera control with a toggleable gimbal/horizon line lock and auto-upright button
I have a smooth 6DoF controller from following a tutorial (this is the tutorial) and tweaked it to be exactly what I want with a few exceptions. I found myself wanting the ability to lock the horizon ...
0 votes
2 answers
272 views
Rotate FPS Controller without Mouse
I'm trying to set up a game with portals in it. I've been struggling for a while now to rotate the Player. I've tried Quat.Slerp, Quat.AngleAxis, and Quat.Euler. But through rigorous testing I ...
0 votes
0 answers
41 views
Damage not applied to the player
I created a turret firing missile to player but for some reason the damage is not applied to the player, and the missile is not firing correctly: collision is not triggered. Here's my code. I cannot ...
0 votes
1 answer
238 views
Increasing Recoil Over Time With 'Diminishing Returns'
I have a recoil system where per shot, the recoil value increases. I want the recoil to increase more quickly for the first 10 or so shots, then settle to a slower increase rate that then remains ...