Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Let us know a bit about your interests, and if you'd like to become more directly involved. Take our survey!
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

OnCollisionStay2D problem

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

  1. Milossd

    Milossd

    Joined:
    Oct 13, 2018
    Posts:
    3
    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:
    53
    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 :)