playMaker

Author Topic: 2D trigger event  (Read 1966 times)

FouriusCraft

  • Playmaker Newbie
  • *
  • Posts: 2
2D trigger event
« on: March 15, 2023, 08:39:48 AM »
hello I want to ask for help why this is happening. First I apologize for the language because English is not my main language

a few days ago I just bought playmaker then tried to learn from the official youtube channel then one of the "Drag and Drop UI" videos has an error when I practice it




djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: 2D trigger event
« Reply #1 on: March 15, 2023, 09:20:07 AM »
Hi.
It might be that the collider is not set as trigger

FouriusCraft

  • Playmaker Newbie
  • *
  • Posts: 2
Re: 2D trigger event
« Reply #2 on: March 15, 2023, 11:26:21 AM »
The collider has been set trigger

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: 2D trigger event
« Reply #3 on: March 15, 2023, 02:38:58 PM »
Hi.

I noticed on the video that this one is not set as trigger :)


Wayne191

  • Playmaker Newbie
  • *
  • Posts: 28
Re: 2D trigger event
« Reply #4 on: December 11, 2023, 10:29:17 PM »
I just figured out that a rigidbody 2d is needed for the target, but I don't know why.
Anybody knows? :)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: 2D trigger event
« Reply #5 on: December 12, 2023, 07:13:02 AM »
Hi.
For collision events source or target needs a rigidbody (its just how unity works), but i believe trigger event not (not sure)

else try to use overlap or cast actions (they do not require rigidbodies)