View Full Version : Help making lasers

01-03-2013, 09:07 AM
Do you have to make lasers from a sticker panel or hologram or are they a object collectable in game? If you do make them how do you get them to behave like a laser and be blocked by objects put in front of them?

01-03-2013, 03:36 PM
There's unfortunately no special "laser gameplay object", you'll have to build them yourself.
A good start is to use hologram material and put a danger-tweaker on it set to plasma.
There's probably no "best" way to make objects "block" the laser, it would vary depending on how complex its movements are.

For example a simple left-right moving vertical laser that you'd want to be "blocked" by something in it's path could be done like this:

Glue together 2 holograms, one for when the laser is "blocked" and one for when it's not blocked.
Then use an impact-sensor (turn on include adjacent layers, otherwise it won't detect hologram) and tag to detect when the laser is hitting the "blocker", use that to turn on/off the danger-tweaker and the visibility/brightness for the blocked hologram.

01-03-2013, 06:55 PM
Pretty much what sport bill just said.
If you don't understand it, I may be able to take some pictures of a simple set up for you though. :)

01-04-2013, 08:22 AM
Thanks guys this makes perfect sense