Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Chaosgod_Espér on January 26, 2015, 03:53:37 AM

Title: [SOLVED] How do trigger Events work?
Post by: Chaosgod_Espér on January 26, 2015, 03:53:37 AM
Hi there..

Since my Raycast Tryouts (http://hutonggames.com/playmakerforum/index.php?topic=9271.0) are not working, i wanted to try it with Triggers.

Therefor i created 2 Empty childs to my player, and attached Box colliders to them. Both colliders have "is Trigger" enabled.
As first, i wanted to try the Box, that should check if in the Height of Players head is a wall (wall objects do have a rigidbody with kinematic enabled + box collider).

But wether the Trigger Stay, nor the Trigger Exit are reacting when hitting the Wall Objects.

See this Pictures:
http://fs2.directupload.net/images/150126/9xwon4y4.png (http://fs2.directupload.net/images/150126/9xwon4y4.png)

I despair slowly... :(



Edit: Nevermind.. needed to give each trigger Object a Rigidbody - not the Walls.