Results 1 to 1 of 1
  1. #1
    Join Date
    Aug 2004
    Location
    Italy
    Posts
    152

    (3rd Person Camera) Your character doesn't jump? Here's why!

    I was implementing the Jump from the fourth video when I saw that my character wasn't jumping at all. The code was correct, but for some reason (that I'll tell you in a minute) he did not jump.

    After some trial and error, I've attached the script to a box... And I attached a CharacterController in it, when Unity complained that it already had a Box Collider. I removed the Box Collider and the Box was jumping! So my character actually had a collider that he shouldn't have had! I've removed all colliders (he had colliders for his hat and eyes too ) and now he jumps correcly.

    So if your character is not jumping, check if he has colliders. He shouldn't, the charactercontrollers handle all the collisions!

    Hope it helps!
    Last edited by Artanis; 02-08-2011 at 05:51 AM.
    Artanis

    My Blog (Italian): http://www.artanis.it
    My Web Site (Italian/English): http://www.fabriziotobia.com
    My Community (Italian): http://www.darksithlords.it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •