Search Unity

  1. Unity 2019.1 beta is now available.
    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. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. On February 28th the Feedback website will shut down and be redirected to the Unity forums. See the full post for more information.
    Dismiss Notice
  5. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  6. Unity 2018.3 is now released.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Character walks over objects she's not suppose to

Discussion in 'Physics' started by Falcoshin, Oct 4, 2018.

  1. Falcoshin

    Falcoshin

    Joined:
    May 31, 2017
    Posts:
    109
    I have a small beach ball in the scene for the player to kick around and, while she applies force to it just fine, it causes her to ramp up the ball. I understand I could apply gravity to her to get her back down, but the problem is she shouldn't be climbing up the ball AT ALL. What's causing this and how can I fix this?
     
  2. PGJ

    PGJ

    Joined:
    Jan 21, 2014
    Posts:
    875
    Have you tried increasing the mass of the player? And, maybe lowering the mass of the ball.
     
  3. Falcoshin

    Falcoshin

    Joined:
    May 31, 2017
    Posts:
    109
    The player uses a CharacterController, not a Rigidbody, so that won't work.
     
  4. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    1,298
    Try disabling the collision between the player and the ball via Physics.IgnoreCollision, or collision matrix.
    Just make sure you're applying enough force, so that the ball never gets inside the player.