Skip to main content

Questions tagged [aiming]

Taking focus on a target, often to shoot it, and even more often in the head.

0 votes
0 answers
88 views

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 ...
Eric Wright's user avatar
0 votes
0 answers
27 views

I have an arm that has a pivot point on it. I want to rotate the arm so that the barrel of the gun points to the cursor. How do I calculate the angle of rotation for the arm? I'm not very good at math ...
Haslin's user avatar
  • 1
0 votes
1 answer
796 views

I want to calculate the time that it takes to intercept a moving target "plane" with a projectile. For example I have two 3 dimensional vectors (2 locations in 3D space). ...
nexo sharp's user avatar
0 votes
2 answers
360 views

I'm making a simple 2D shooter game in pygame and I've come across an issue when making the character aim its gun at the mouse. To make the gun aim up and down, I've set it so that the gun uses the ...
jaregax432-awinceo's user avatar
0 votes
1 answer
136 views

I have a bug with the rotation of a gun object that follows the mouse position. It has issues when the parent object player rotates. Example: The player has a gravity script to keep them aligned with ...
koschei_dev's user avatar
-1 votes
1 answer
99 views

I am trying to have the gun stick to facing the left or right when the player isn't pressing any of the arrow keys. For instance, if the player is aiming diagonally up-left, then when the player lets ...
Gameboy The Collector's user avatar
1 vote
0 answers
163 views

I am working on implementing scaling transformations into a game engine (C++), which previously assumed only translations and rotations. Visually, the scaling works, but a lot of the game logic ...
yah_nosh's user avatar
0 votes
0 answers
118 views

I am trying to write a movement prediction code. I have found the quadratic method with these topics: [1]: How to calculate shot angle and velocity to hit a moving target? [2]: http://...
Dicaste's user avatar

15 30 50 per page