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 /
This question was closed Oct 10, 2015 at 04:30 PM by getyour411 for the following reason:

Problem is not reproducible or outdated

avatar image
0
Question by davidc · May 05, 2013 at 01:51 PM · collisionterraincharacterbasicside-scrolling

Terrain, Player falls through.... but only some parts.

Hey Guys, sorry if this is a dumb question but i have looked everywhere.

So my player seems to walk fine around the terrain until he collides with a mountain or raised part of the world, the payer will just walk straight through any part of the world thats raised.

i have terrain collider on, i have tried using rigidbodys and not using them, turning off scripts and rebuilding the terrain ect. but i cant seem to find a solution and no one else seems to have a similar problem....... that's why i think im missing something really easy.

any thoughts?

Comment
Add comment · Show 7
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 ryba · May 05, 2013 at 01:57 PM 1
Share

more info - how are you moving player ? through transform.position = newPosition, or through rigidbody.$$anonymous$$ovePosition() / rigidbody.AddForce() / characterController.$$anonymous$$ove() ? How do you apply gravity ? Are you spawning player little above terrain (and by player i mean his collider, not mesh)

avatar image FL · May 05, 2013 at 01:59 PM 0
Share

Try to adjust the Skin width value in Character Controller.

avatar image Trond · May 05, 2013 at 03:02 PM 1
Share

Sounds to me like you are doing something like player.transform.position.z++; If this is what you do it the wrong way to do character movement. An easy way to do a character is using the standard "First person controller". You get this from the import section ;)

avatar image davidc · May 06, 2013 at 06:58 AM 0
Share

Hey guys, im using the character motor and third person character controller. both standard unity3d scripts

avatar image Trond · May 07, 2013 at 05:39 PM 1
Share

Never seen this happen before, and don't really know why this happens.

Try to create a new unity project, add a fps controller and create a terrain with some heights. All standard. Try to see if you fall through this terrain too. If you do, there must be something really wrong with..i don't really know, your installation of unity? If it however doesn't fall through, compare it to your other project and see whats different(additional scripts etc..).

Sorry for not being able to help, but i have really no idea what this might be...

Show more comments

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

15 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

Related Questions

Stop going through terrain walls 0 Answers

Character doesn't collide with trees in terrain 4 Answers

My character jumps occationally when against a wall? 2 Answers

I just made my animation loop, but now my character walks through all colliders? 2 Answers

Floating Platform with Terrain/Grass 3 Answers


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