Playmaker Forum

Playmaker Help & Tips => Playmaker Help => Topic started by: phannDOTde on November 30, 2013, 07:36:36 PM

Title: Need some Advice on Trigger/Collission Event[SOLVED]
Post by: phannDOTde on November 30, 2013, 07:36:36 PM
Hey,

I got an issue i cant figure out. I'm trying to make a SciFi Beam work. I attached a Trigger Event Action on the Beam waiting for the tagged Player to collide with it. If the Player moves into the Beam everything works fine BUT if the Player Object stands still and the Beam moves into the Player nothing happends. Is that a mistake I'm making or a Bug?  :-\

greets
Peter
Title: Re: Need some Advice on Trigger/Collission Event
Post by: jeanfabre on December 02, 2013, 12:15:33 AM
Hi,

If your physics awake and not sleeping? if it is sleeping and you don't move it it may be not part of the collision process until it's woked up.


bye,

 Jean
Title: Re: Need some Advice on Trigger/Collission Event
Post by: phannDOTde on December 02, 2013, 11:42:36 AM
Good advice, I will check that. Maybe one of them never became awake. Let you know if that solved it asap.

cheers
Peter
Title: Re: Need some Advice on Trigger/Collission Event
Post by: phannDOTde on December 03, 2013, 06:46:45 AM
Seems that solved my Problem for now but i dont really get when an Object becomes Awake/Sleep in Unity. Do I have to force certain Objects to be awake every Frame even if there active in the scene but not moving for a while?

greets
Peter
Title: Re: Need some Advice on Trigger/Collission Event
Post by: Lane on December 03, 2013, 06:51:01 AM
http://docs.unity3d.com/Documentation/Components/RigidbodySleeping.html
Title: Re: Need some Advice on Trigger/Collission Event
Post by: phannDOTde on December 03, 2013, 08:48:40 AM
Lol, just RTFM ;-)

Thanks for the Link :-D

greets
Peter