Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

OnCollisionStay2D problem

Discussion in 'Scripting' started by Milossd, Oct 13, 2018.

  1. Milossd

    Milossd

    Joined:
    Oct 13, 2018
    Posts:
    13
    Hello i have problem with onCollisionStay2D function.It works properly but when i enter zone (another gameobject boxcollider) im standing on zone , no in zone.I want something like if i check trigger(on boxcollider gameobject) but trigger works only with OnTriggerEnter2d function. :(
    Thanks for help
     
  2. Cyber-Dog

    Cyber-Dog

    Joined:
    Sep 12, 2018
    Posts:
    135
    Hey man, can you read what you have written and try asking again. That makes no seance.
    Use better terminology, check spelling to avoid confusion, and break the paragraph up a bit too :)