playMaker

Author Topic: Get Collision Info not working 2020.1.2?  (Read 1949 times)

adrian

  • Junior Playmaker
  • **
  • Posts: 52
Get Collision Info not working 2020.1.2?
« on: September 03, 2020, 07:54:46 AM »
Hi all,

I have a really simple collider (with rigidbody) and a really simple collide > get info setup but no matter what I try I cannot get an data in "Get Collision Info"?

Am I going mad or is this broken? Any help appreciated.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Get Collision Info not working 2020.1.2?
« Reply #1 on: September 03, 2020, 09:24:24 AM »
Hi.
on the 'listen' you have a Collision Event?

adrian

  • Junior Playmaker
  • **
  • Posts: 52
Re: Get Collision Info not working 2020.1.2?
« Reply #2 on: September 03, 2020, 09:51:02 AM »
Yes, straight listen event

I've got a bit further, in which, the second collision event shows data but never the first, really odd. Only way around is to instigate a collision at level load which seems crazy

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Get Collision Info not working 2020.1.2?
« Reply #3 on: September 04, 2020, 10:27:37 AM »
Hi.
Hmm, So state 1 (listen) has the action "Collision Event' and nothing else?

adrian

  • Junior Playmaker
  • **
  • Posts: 52
Re: Get Collision Info not working 2020.1.2?
« Reply #4 on: September 04, 2020, 10:32:09 AM »
Exactly, first collision triggers with no date, second event (second collision since level load) will register, very odd, and causing big issues.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Get Collision Info not working 2020.1.2?
« Reply #5 on: September 04, 2020, 10:46:25 AM »
can you show the setting on the collision event action

adrian

  • Junior Playmaker
  • **
  • Posts: 52
Re: Get Collision Info not working 2020.1.2?
« Reply #6 on: September 04, 2020, 10:53:27 AM »
Sure!

Hasuman

  • Playmaker Newbie
  • *
  • Posts: 19
Re: Get Collision Info not working 2020.1.2?
« Reply #7 on: September 04, 2020, 01:13:51 PM »
Maybe set a tag so it knows what to collide with?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Get Collision Info not working 2020.1.2?
« Reply #8 on: September 04, 2020, 03:08:04 PM »
Hi.
If you need to get a collision only from a certain type of object you can use a tag yes.

But i just noticed on your 1st image that next frame event does not have a send event.
it should have one else it will be stuck in that state

adrian

  • Junior Playmaker
  • **
  • Posts: 52
Re: Get Collision Info not working 2020.1.2?
« Reply #9 on: September 08, 2020, 08:22:28 AM »
Hey Djaydino,

Sorry it does it's just clipped in the image. I'm going to spin up and empty project and check this is happening there too, will feedback