Hey guys... I could do with a little help on a couple of things to do with programming a laser.
The first laser question is this:
Is it possible to create a line at runtime that is at a certain variable length and direction? For example, a cannon could aim at the player, then shoot a laser in the direction of the player and the laserbeam would be the length from Cannon to Player.
Second question:
On a different game, I want the player (a spaceship in a side-scroller shooter) to be able to shoot a bouncing laser beam. This would be similar to a bouncing bullet, but obviously 'longer', and it needs to kind of go into a V shape around corners (as a long stream of bullets fired in the same direction would appear to do). I need this to be limited to 1 object though, so a long stream of closely-packed bullets won't do.
Thanks!
