• Hey! Register here to create your account, engage with the community, and talk about what is new!

Making launch projectile spread 360 degrees

Rudolfs

New member
Joined
Jun 24, 2021
Messages
1
Reaction score
0
Hi, I'm trying to make a grenade that launches a bunch of arrows in all directions.

However I can only get about 90 degree spread, after that increasing the spread parameter does not do anything.

Any ideas how to make it go 360?
 
Solution
Hi, I'm trying to make a grenade that launches a bunch of arrows in all directions.

However I can only get about 90 degree spread, after that increasing the spread parameter does not do anything.

Any ideas how to make it go 360?
Set a variable, "pos", to the grenade's location
Set the pitch rotation of "pos" to -45
Repeat 36 times:
Shift the yaw rotation of "pos" by 10
Launch a projectile at location "pos"

Another way you could go about doing this is launching the arrows all straight upwards, with a lot of spread.

Fghj240

Active member
Joined
Jun 5, 2021
Messages
54
Reaction score
8
Hi, I'm trying to make a grenade that launches a bunch of arrows in all directions.

However I can only get about 90 degree spread, after that increasing the spread parameter does not do anything.

Any ideas how to make it go 360?
Maybe you could repeat it 4 times for each direction
 

stinkey

Forum adept
Joined
Sep 8, 2020
Messages
225
Reaction score
74
Hi, I'm trying to make a grenade that launches a bunch of arrows in all directions.

However I can only get about 90 degree spread, after that increasing the spread parameter does not do anything.

Any ideas how to make it go 360?
Set a variable, "pos", to the grenade's location
Set the pitch rotation of "pos" to -45
Repeat 36 times:
Shift the yaw rotation of "pos" by 10
Launch a projectile at location "pos"

Another way you could go about doing this is launching the arrows all straight upwards, with a lot of spread.
 
Solution
Top Bottom