Colliding but not touching (ex. Ghost, etc)

berendirith

  • Posts: 15
I want to make a laser weapon for my game, but it will pass thru the enemy, not touching them. For [0.1 secs] do 1 damage to them.
Also, how to set the level of the layer which is spawned in game, but not arranged in the scene? (Ex. I want my laser be under the enemy, not on top of them, If I were try with Doodads group)

At this moment, my way to create a laser would be using 2 actors, one is doodads, a long laser which pass thru enemy. one of them is little bullets which fired at rate every 0.2 secs toward enemy.

Also, in the events, I control laser and bullets movements..... Cause I want them to follow my ship when firing laser is active.

Any ideas?

memmaralit

  • Posts: 24
I want to make a laser weapon for my game, but it will pass thru the enemy, not touching them. For [0.1 secs] do 1 damage to them.

You can create regions that follow enemies. If laser is inside region, do 1 damage.
-EsChay

berendirith

  • Posts: 15
I want to make a laser weapon for my game, but it will pass thru the enemy, not touching them. For [0.1 secs] do 1 damage to them.

You can create regions that follow enemies. If laser is inside region, do 1 damage.

oh thanks, Ill try that later.