The characters in the tutorial are given "rigidbody 2D".
In normal Unity, the character would fall due to gravity.
However, the character in the 2D tutorial stays in place without falling.
Which trick (setting) is responsible for this behavior?
  • Set "rigidbody 2D" in the combatant to "kinematic" to make it the same as the sample.
    However, the sample uses "dynamic".
    I don't know why.
  • The 'trick' is to set the Rigidbody 2D component's Gravity Scale to 0, i.e. no gravity will affect it.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you for your reply.
    That solution is a great one.
Sign In or Register to comment.