playMaker

Author Topic: Trigger event using object variable not working? [SOLVED]  (Read 1289 times)

pierre nay

  • Playmaker Newbie
  • *
  • Posts: 30
  • we used a vax to render spheres
Trigger event using object variable not working? [SOLVED]
« on: April 05, 2023, 07:11:29 AM »
I loop through a game object array that replaces a trigger object before running trigger event.  It works on the first loop but fails after that.
« Last Edit: April 06, 2023, 02:45:59 AM by pierre nay »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Trigger event using object variable not working?
« Reply #1 on: April 05, 2023, 07:40:54 AM »
Hi.
For trigger event actions and  collider event actions you should not change the object as it will break the action.
In code this will happen as well.

a solution can be, to use for example Overlap actions or Cast actions (boxcast for example)

pierre nay

  • Playmaker Newbie
  • *
  • Posts: 30
  • we used a vax to render spheres
Re: Trigger event using object variable not working?
« Reply #2 on: April 06, 2023, 02:44:40 AM »
Thanks , i get the limitation, i will go through your suggestions. cheers.