playMaker

Author Topic: trigger_enter in the center of the trigger?  (Read 498 times)

bigrip

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
trigger_enter in the center of the trigger?
« on: December 05, 2015, 08:38:14 PM »
hi
i make an ai for a 2.5d game ,the ai can walk on a "anti gravity elevator" and
a trigger and a send_random_event chose the hover direction up or down.

Everything is working but the ai hover not in the center of the " anti gravity field"
i want my ai in the center of my "anti gravity elevator".



How can i make a trigger_enter only work if the object is in the center of trigger?
i  try to make a wait state, on the first look it works,but give me later problems.
i  try to make the trigger very small but it makes it just a little bit  better.


Adamantius

  • Playmaker Newbie
  • *
  • Posts: 5
    • View Profile
Re: trigger_enter in the center of the trigger?
« Reply #1 on: December 06, 2015, 12:41:20 AM »
Maybe have a small trigger in the center of the big green trigger. When the player enters the green trigger it activates the small trigger in the center.

When the player exists the big green trigger it turns off the small trigger in the center.

Just my two cents  :)