playMaker

Author Topic: Logged Collision has no name?  (Read 1087 times)

abend

  • Playmaker Newbie
  • *
  • Posts: 36
Logged Collision has no name?
« on: July 11, 2020, 07:52:46 AM »
I just want to understand this. I have a collision action, I grab the collider. Next, I send that collider info to the log. Am I just having a collision with something without a collider? If so, how is it marked with a collision? Is this a non-issue?

Log line:
Arrow.Flying : Bounce : Hit! : DebugGameObject : ArrowHit: None

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Logged Collision has no name?
« Reply #1 on: July 12, 2020, 04:28:57 AM »
Hi.
Check If Enable Logging is checked


abend

  • Playmaker Newbie
  • *
  • Posts: 36
Re: Logged Collision has no name?
« Reply #2 on: July 12, 2020, 12:10:34 PM »
Dino!

Thanks for the reply, enable logging is checked! I have a few other FSMs on here when other tags get hit, and I do see an object name for them. I am unsure how to test this collision event if I can't get the object. I may be able to write a little script maybe that I can break on when there is an event and try to see what the object is?

I'm not seeing any issue with the game, but I am attempting to understand more about what is happening with some proper logging.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Logged Collision has no name?
« Reply #3 on: July 13, 2020, 02:14:33 PM »
Hi.

The Debug Log is workingon my end :



But after i made this gif i noticed the issue.

You should Place the 'Debug Game Object' in a state 'After' the collision as now it will do this the moment the state is active (so the object is still empty)

So on collision Go next state, then in next state do 'Debug Game Object'

abend

  • Playmaker Newbie
  • *
  • Posts: 36
Re: Logged Collision has no name?
« Reply #4 on: July 13, 2020, 03:39:35 PM »
I think I get what you are saying!

After a quick test, I am not seeing entries where the object is 'none'. I guess that collision event should be in its own action, and then anything that uses it should be in the following action! Good to know! Thanks Dino!
« Last Edit: July 13, 2020, 03:54:21 PM by abend »