Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Need help with fixing intersting bug

Discussion in 'Physics' started by NeoNCoding, Mar 2, 2019.

  1. NeoNCoding

    NeoNCoding

    Joined:
    Aug 15, 2018
    Posts:
    6
    Hello, i don't have any idea where can be this bug, maybe mesh, but..
    Video of bug:
     
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,754
    Can you describe the bug, because video doesn't work for me for some reason?
     
  3. NeoNCoding

    NeoNCoding

    Joined:
    Aug 15, 2018
    Posts:
    6
    the bug is when you open Gate in right time and you jump to the gate. The gate will move up and it will take player with itself, so player can jump to gate or jump to sky. Try this:
    streamable.com/1holy
     
  4. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,754
    It appears, that when you jump at the gate and collide with, while gate opens, it pulls player with gate up, shooting player into the sky.
    I would slow down the gate movement.
     
  5. NeoNCoding

    NeoNCoding

    Joined:
    Aug 15, 2018
    Posts:
    6
    yes but what that box?
     
  6. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,754
    What box?
     
  7. NeoNCoding

    NeoNCoding

    Joined:
    Aug 15, 2018
    Posts:
    6
    that box in the video.. in start of video, on 7 seconds
     
  8. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,754
    Do you have jumping issue with only dynamic colliders, or static too?
    Do you have some replant algorithm in place, pushing away from objects?
     
  9. NeoNCoding

    NeoNCoding

    Joined:
    Aug 15, 2018
    Posts:
    6
    both,
    static when player goes to box and walk and it should bump him to top of the box (probably) but player jumps in sky
    that happens only sometimes or when you know how to do it

    dynamic when the gate is moving

    i hope i wrote that good :D
     
  10. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,754
    Which Unity version?
     
  11. NeoNCoding

    NeoNCoding

    Joined:
    Aug 15, 2018
    Posts:
    6
    Unity 4.5.5
     
  12. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,754
    Oh, there was lot of changes in physics since then.
    Not sure if same issue you would have with Unity 2017 +.
    So I doubt I can give you any valid advice for that reason.