• 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 MaleficVision · Aug 04, 2012 at 09:03 AM · androidterrainfirst person controller

Problem With Terrain and First Person Controller

So I've managed to create a terrain...and put down some of my model buildings. I then decided to see how it will look like in First Person View so I put down a First Person Controller from the standard assets and then I positioned it near my buildings and hit Play.

At the game view it does display the buildings in First Person,however once I try to walk. A Single Step. I am then teleported to the edge of the terrain, then if I try to walk towards my buildings I can't move and just simply make it back to the edge. I tried Jumping but still can't move in other directions or juse be teleported back to the edge of the terrain.

I haven't changed anything yet. except for the terrain paint and added some lighting. but other than that nothing else.

Oh one more thing...since Im at the edge i try jumping off it...and I fall down infinitely. :|

What have I done wrong? Is there a solution for this?

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Dragonlance · Aug 04, 2012 at 11:04 AM

Maybe you have large colliders and use them as fire range sensors or something like that. If you use them like this, do not attatch a rigidbody and select (!)"Is Trigger". Otherwise the FPS Controller starts inside a collider then and will react crazy. Wouldn't you if you spawn inside something else?

Another thing could be that you have custom scripts attatched to the FPS Controller that interfere with it. Is this the case?

But I bet you spawn inside a collider.

Comment
Add comment · Show 1 · 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
avatar image MaleficVision · Aug 04, 2012 at 12:39 PM 0
Share

Hmm I placed my controller slightly above the terrain so when I press play I would drop slowly before I reach the ground. After reaching the ground...I would be teleported to the Upper Left Corner of the terrain and would not be able to move unless I jump over the terrain which in turn would cause me to fall infinitely in the void :))

I really don't know what happened. I haven't coded anything yet nor attached a script. I just picked the FP Controller placed it in my scene and pressed play.

Anyway I just decided to delete the terrain...created a new one place it under my buildings and it worked just fine.

But this is quite a mystery and would like to know why this happened.

anyway thanks for the reply.

avatar image
0

Answer by UnrealIzzy · Aug 04, 2012 at 09:24 AM

Hi there MaleficVision,

There could be a few problems...

1) The reason why you may not be able to walk to the building is that it might have a big Box Collider which will block your path between the game object and you.

2) The reason why you would have teleported when you walked could be either because your speed is at the maximum which caused you to travel so fast,Or Your movement script may have been changed and your character teleports with a press of a button.

If you can't fix it then you should try starting a new project or re-import the character controller package. But if all fails then you may have to re-install unity3d itself.

Hope this helped :D

Comment
Add comment · Show 2 · 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
avatar image MaleficVision · Aug 04, 2012 at 10:33 AM 0
Share

Uhm the speed is pegged at 6. And I'm not even walking towards the edge of the terrain that I created. I always end up in the upper left corner of the terrain.

I didn't place any other stuff. Just the terrain,buildings, and the FP Controller. It's just weird...because last time I tried playing with the terrain and FP controller I got it to work normally.

anyway I've decided to delete the terrain and created a new one..and it worked. No teleporting to the edge. It just worked again.

I really wonder what caused my problem. Thanks for answering anyway..:)

avatar image UnrealIzzy · Aug 04, 2012 at 10:51 AM 0
Share

No problem!

Always glad to help as much as I can :D

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

10 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

Related Questions

Messed up terrain texture on Android 5 device 0 Answers

Falling through world. 1 Answer

Terrain textures on unity android has rainbow spots? 2 Answers

i want to help touch functionalities for android how will i do that ?? 0 Answers

First Person Controller touching terrain causes teleportation 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