Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: bigrip on December 05, 2015, 10:38:14 PM

Title: trigger_enter in the center of the trigger?
Post by: bigrip on December 05, 2015, 10: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.

Title: Re: trigger_enter in the center of the trigger?
Post by: Adamantius on December 06, 2015, 02: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  :)