Skip to main content

Questions tagged [projectile]

0 votes
1 answer
551 views

What I need assistance with: I need to create a rope connecting two GameObjects together at runtime through code. One end will be connected to Transform _pointA ...
PayasoPrince's user avatar
1 vote
1 answer
222 views

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 ...
Pow's user avatar
  • 449
1 vote
1 answer
1k views

I have this code that tries to check whether a lobbed grenade will head toward a teammate: ...
mLstudent33's user avatar
0 votes
0 answers
34 views

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 ...
bluegreen1024's user avatar
1 vote
1 answer
260 views

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 ...
cluelessgamedev's user avatar
1 vote
2 answers
947 views

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 ...
Taras Fityo's user avatar
1 vote
0 answers
164 views

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 ...
Charles S.'s user avatar
0 votes
0 answers
401 views

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. ...
Pablo Salas's user avatar
0 votes
1 answer
332 views

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 ...
FrankR's user avatar
  • 1
0 votes
2 answers
394 views

I have a projectile and an enemy, both with colliders. On the projectile script, I'm destroying the projectile OnTriggerEnter: ...
benbastien's user avatar
0 votes
0 answers
183 views

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 ...
Ranya's user avatar
  • 1
0 votes
0 answers
1k views

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....
Cheryl's user avatar
  • 1
0 votes
1 answer
80 views

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 ...
mohan's user avatar
  • 1
0 votes
2 answers
4k views

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 ...
Boneco Sinforoso's user avatar