So I may making a bullet-dodging game and I have enemies that are supposed to shoot bullets that after about a second split into more bullets, but there is an issue.
So my code summed up is that when the enemy spawns the bullet instance, it then sets the bullets angle and a instance variable called splitTimer. When splitTimer reaches 0, the bullet slows down and then spawns smaller normal bullets in 6 directions (0, 60, 120, etc).
The issue is that when the bullets split, all of them go the same direction, and that direction is always the same as the splitting Bullet, and I have no idea why. My guess is that when I am using Bullet > Set Angle > X degrees, it's changing all bullets and not one, so how can I fix this?
Thanks