# Questions tagged [projectile]

The tag has no usage guidance.

13 questions
Filter by
Sorted by
Tagged with
1 vote
68 views

### Get Impulse force needed for parabolic projectile launch

I want to create a projectile that fires upwards and in a sense falls down onto the player, like this: I found through some research I needed to use a "parabolic" equation. However it wasnt ...
1 vote
856 views

### How to project a Vector3 onto the xz plane?

I have this code that tries to check whether a lobbed grenade will head toward a teammate: ...
1 vote
164 views

### How to draw/calculate a parabolic arch to hit stationary target in Javascript

First off I must admit I'm really not good at math and am trying to learn but have had a hard time finding examples someone like myself can follow. I'm trying to figure out how to draw and calculate ...
29 views

### How do some RTS games efficiently compute the launch angle of projectiles to hit moving targets, accounting for gravity? [duplicate]

Some real-time strategy games, notably Total Annihilation and Supreme Commander among others, have simulated projectiles that travel along realistic-looking parabolic arcs to reliably hit moving ...
1 vote
842 views

### Multiple enemies get hit by arrow instead of one

I am working on my first Tower Defense game and I have a problem where multiple enemies get hit by a projectile instead of one. Enemy with its collider: The problem is that when the enemies get close ...
201 views

### Need help projecting 2D projectile motion in 2.5/isometric 2D game

So I’ve been researching this a lot and have hit a road block. I’ve read pretty much every thread on here regarding this and while I understand the concept I don’t understand how to implement it. For ...
1 vote
128 views

### How can I predict if a Guided Projectile can hit a stationary Target (with no adjustments to aim)?

I'm trying to predetermine if a projectile will hit a target (before the projectile has been fired). The projectile settings include an Initial Speed, Acceleration, Max Speed, and a Turn Rate. I'm ...
362 views

### Spawning projectile: it's there but does not show

Here is the code and very simple. I can see the object in the blue print and has nothing except the object itself. so all the issue should be on the C++ code. ...
289 views

### Best practice where to store Projectile Damage amounts?

I have a projectile and an enemy, both with colliders. On the projectile script, I'm destroying the projectile OnTriggerEnter: ...
1k views

### Optimize spawn & destroy? (Unreal Engine)

I'd really like to know how you'd go about optimizing this? 20 actors each spawning 8 projectiles per 0.1 sec which are then destroyed 0.8 seconds later, all done through blueprints Gif: https://gyazo....
100 views

### How to model the double jump in Super Mario using projectile motion

So the single jump in Super mario games follows a curved trajectory of the formula s = s0 + v0t + ½ at2. The double jump in mario consists of two different parabolas combined. I know that the max ...
63 views

### Calculating projectile path when fired at an angle, forward

I have a problem to code the path of a projectile from a gun as it moves forward and upward. This needs to be done in p5.js. Although the Angry Birds method has been tried by me, I am looking for a ...
3k views

### How to make a homing projectile make a more objective path to the target?

I'm having trouble trying to get a projectile thrown by a tower to hit the player quickly. See the image below: The projectile hits the ground very close to where the player was. If the player did ...