playMaker

Author Topic: Trigger event not registering on start  (Read 1309 times)

Grohowiak

  • Playmaker Newbie
  • *
  • Posts: 5
    • View Profile
Trigger event not registering on start
« on: November 20, 2013, 04: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?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3578
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Trigger event not registering on start
« Reply #1 on: November 20, 2013, 08:00:08 PM »
Are you starting inside the first trigger area?

Grohowiak

  • Playmaker Newbie
  • *
  • Posts: 5
    • View Profile
Re: Trigger event not registering on start
« Reply #2 on: November 21, 2013, 04: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.

http://www.youtube.com/watch?v=9vhBTTInGmI&feature=youtu.be

I need some help here cause I'm totally lost as to why it's happening.
« Last Edit: November 22, 2013, 02:55:10 PM by Grohowiak »

Grohowiak

  • Playmaker Newbie
  • *
  • Posts: 5
    • View Profile
Re: Trigger event not registering on start
« Reply #3 on: November 22, 2013, 09: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
« Last Edit: November 22, 2013, 02:54:56 PM by Grohowiak »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3578
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Trigger event not registering on start
« Reply #4 on: November 22, 2013, 04: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.