Need Help Please

hey guys, do any of you know how to make an actor that behaves like a laser? This meaning that it shoots from a certain point (variable) in a certain direction or towards a point and terminates when it hits something, but stays in existence. It also has to constantly change its length based on what is in front of it so like if there is something 20 pixels in front of it, the laser will be 20 pixels long, then if that thing or the laser moves and the distance changes, the laser also changes its own length. Thanks,
Ryan
Ryan
Comments
http://www.mediafire.com/download.php?526tqh0gisn2c8u
Hope that helps!
RThurman
I was looking for something that will be like that, except that it would stop when it collides with any object. like if the beam that you have were to cross another box, that box would terminate the laser at its position so I can make a "laser" weapon. I don't want to use many little actors that spawn fast because that would be sloppy and not make a straight line, and it wouldlag the game
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User