Function like NOT "overlaps or collides"
ThoPel
GermanyMember, PRO Posts: 184
Hi,
I'm planning to build a endless runner with some ideas of the game "Portal".
Now I'm searching for a solution that I could switch a variable on / of when my actor NOT "overlaps or collides" something.
Example:
- Actor moves on Area --> Actor indestructible
- Actor leaves Area --> Actor destructible
My only idea is to work with two areas, one for switch on and one for switch off.
But perhaps somebody has an idea...
Thanks
Thomas
Best Answer
-
A_Constantin EnglandPosts: 79
When actor moves on area --> change attribute "destructable to false"
else --> change attribute "destructable to true"Then have a rule which describes your destructable attribute.
Answers
Damn it! I forget the "Otherwise:" section. :-)