Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Grohowiak on November 20, 2013, 06:14:46 PM

Title: Trigger event not registering on start
Post by: Grohowiak on November 20, 2013, 06:14:46 PM
I created a small lvl with 4 cameras. I'm using Trigger Event to activate specific cameras when my character enters the trigger collider.

Problem is it doesn't register the primary one untill you go through all the others.

Is this a bug or something very weird?
Title: Re: Trigger event not registering on start
Post by: Alex Chouls on November 20, 2013, 10:00:08 PM
Are you starting inside the first trigger area?
Title: Re: Trigger event not registering on start
Post by: Grohowiak on November 21, 2013, 06:53:27 AM
Yes. I want the camera to switch to that particular room considering there might be 2-4 in the end so got to make sure it will be the correct one on respawn.

Also now for some reason after restarting Unity I need to register in/out on all triggers before they work. I attached a small video.


I need some help here cause I'm totally lost as to why it's happening.
Title: Re: Trigger event not registering on start
Post by: Grohowiak on November 22, 2013, 11:07:58 AM
Any news on this? It's groundbreaking.

I added tags and it helped a bit but sometimes triggers still don't register.

Can somebody reply? Issue? None issue? Bug? We're checking? Anything? :P :D
Title: Re: Trigger event not registering on start
Post by: Alex Chouls on November 22, 2013, 06:47:55 PM
I haven't been able to reproduce any weirdness here...

If you start off inside a trigger you could use TRIGGER STAY instead of TRIGGER ENTER. I don't believe Unity fires an enter event if you start off inside the trigger area.

Collision/trigger weirdness usually ends up being setup problems. If you can build a small project that shows the problem please send it my way and I'll take a look at it.