playMaker

Author Topic: Trigger didn't "trig"[SOLVED]  (Read 1614 times)

vonpopov

  • Junior Playmaker
  • **
  • Posts: 98
Trigger didn't "trig"[SOLVED]
« on: March 18, 2014, 07:20:36 PM »
I followed both tutorial about trigger but there is something missing. Trigger didn't react when an object is going in.

What could it be missing ? I guess there is something on the first person controller that is missing on my objects that goes into the trigger.

They have both box collider, with "is trigger" checked. Tag are ok to ... so

any body have a clue ?
thanks

here you can see, it goes inside, but no reaction from the trigger event.
« Last Edit: March 25, 2014, 08:12:00 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Trigger didn't "trig"
« Reply #1 on: March 19, 2014, 04:45:40 AM »
Hi,

 double check that you have a rigidbody added, it doesn't work without.

bye,

 Jean

vonpopov

  • Junior Playmaker
  • **
  • Posts: 98
Re: Trigger didn't "trig"
« Reply #2 on: March 19, 2014, 09:00:57 AM »
Hi,

 double check that you have a rigidbody added, it doesn't work without.

bye,

 Jean

this is great ! it works :D

But, one more question.
I have a bullet, and a target.

I set the rigid body only on the bullet, it works.
But, do i need to put rigid body also on the target ? or does exists some case it should be put on it to ?
« Last Edit: March 19, 2014, 09:08:29 AM by vonpopov »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Trigger didn't "trig"
« Reply #3 on: March 25, 2014, 08:11:48 AM »
Hi,

 you'll have to test, it depends on your configuration, for it to work I think at least one of the two colliders must have a rigidbody.

bye,

 Jean