Search Unity

Slowing down when collide, help

Discussion in '2D' started by Zozzancs, Jul 28, 2014.

  1. Zozzancs

    Zozzancs

    Joined:
    Jun 14, 2014
    Posts:
    12
    Pls help guys :) my 2d character slowing down when collide with the edge of the platform i added slippery but it wont help
     
  2. cbothra

    cbothra

    Joined:
    Mar 14, 2014
    Posts:
    125
    Have you added Debug.Log(""); in the collider event?
     
  3. Zozzancs

    Zozzancs

    Joined:
    Jun 14, 2014
    Posts:
    12
    no!? how can i do that?
     
  4. cbothra

    cbothra

    Joined:
    Mar 14, 2014
    Posts:
    125
    Lol! Thats not a suggestion, thats a question. :D
    Because putting so much Debug.Log() hits the performance. I think May be you need to revisit through the collider event and see what can hit the performance and try to optimize that. Also it would be helpful if you can paste your collider function here.
     
  5. PJRM

    PJRM

    Joined:
    Mar 4, 2013
    Posts:
    303
    i don't get your point Zozzancs. It is something about the "Material Physics", the friction property?