playMaker

Author Topic: Need some Advice on Trigger/Collission Event[SOLVED]  (Read 1202 times)

phannDOTde

  • Full Member
  • ***
  • Posts: 234
    • View Profile
    • Peter Hann .de
Need some Advice on Trigger/Collission Event[SOLVED]
« 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
« Last Edit: December 04, 2013, 03:09:54 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13526
  • Official Playmaker Support
    • View Profile
Re: Need some Advice on Trigger/Collission Event
« Reply #1 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

phannDOTde

  • Full Member
  • ***
  • Posts: 234
    • View Profile
    • Peter Hann .de
Re: Need some Advice on Trigger/Collission Event
« Reply #2 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

phannDOTde

  • Full Member
  • ***
  • Posts: 234
    • View Profile
    • Peter Hann .de
Re: Need some Advice on Trigger/Collission Event
« Reply #3 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

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2488
  • Yup.
    • View Profile
    • Cleverous

phannDOTde

  • Full Member
  • ***
  • Posts: 234
    • View Profile
    • Peter Hann .de
Re: Need some Advice on Trigger/Collission Event
« Reply #5 on: December 03, 2013, 08:48:40 AM »
Lol, just RTFM ;-)

Thanks for the Link :-D

greets
Peter