Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by DarkWolf · Oct 09, 2013 at 02:44 PM · characterterrain data

Why does my caracter fly insted of going down hill

I created mountains and lakes on my terrain but my character only goes up the mountains when he passes the lakes he just walks in mid-air i think it is a terraindata problem but i can't find a fix

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Owen-Reynolds · Oct 09, 2013 at 03:34 PM 0
Share

For me it's usually a script problem, where the script doesn't (correctly, or at all) apply gravity. Esp. with a charController.

Try pausing and manually moving the player up for no reason -- see if she says at that height. Or move down to the ground from floating -- she if she correctly follows upwards slopes. Or, after you float over an area, drag to the ground and walk backwards over it.

You'll probably see that it always follows the terrain up, just never down, so the terrain is fine.

avatar image DarkWolf · Oct 09, 2013 at 03:52 PM 0
Share

when i do that he falls thought the terrain

avatar image Owen-Reynolds · Oct 10, 2013 at 12:06 AM 0
Share

When you select the player, then go to Scene View, you'll see the green wire collider, which is where she counts as being. If that gets below the ground, she falls through. If it gets away from where the player appears to be, something is messed up.

The trick to everything is testing. If you move the player down a tiny bit, does she still fall through the ground? And so on.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Zeyami · Oct 09, 2013 at 03:44 PM

did you check to see if "use gravity" is checked on the rigidbody of the character?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

17 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

how to load character customization in unity free 2 Answers

Unity Flash, character jumps when the controller touches a step 0 Answers

Cloth physics or clothing on a character. 1 Answer

how to make my charater chan 1 Answer

How to freeze character and other things and execute other scripts 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges