ID:269651
 
I need to know how I would make a Ki Blast in a Dragonball Z game(NOT Zeta) hit everyone in it's path rather than have a target
Clark Kent wrote:
I need to know how I would make a Ki Blast in a Dragonball Z game(NOT Zeta) hit everyone in it's path rather than have a target

Make a KI blast object with a density of 0, and a variable to hold its maximum distance, as well as whatever you need.

Create your KI blast in the desired starting position, set its dir, have it step according to its dir until it's stepped the maximum distance, checking after each step if there are mobs in its location(for doing damage), and if it has reached its maximum distance value. Then delete it.

Hiead