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 /
  • Help Room /
avatar image
0
Question by hike1 · Oct 05, 2010 at 06:46 PM · wallsthrough

1st person controller going through walls

I'm trying to get this maze going, I copied from the FPS tutorial the 1st person controller (I think) I finally got the 'player' to not fall through the floor, but he's going right through the walls. I have this working in other scenes with different geometry.

Unity file, requires 'standard assets' http://terrymorgan.net/maze_unity3d.zip 1mb

shot of FP controller http://terrymorgan.net/images/first_person_controller.jpg

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 hike1 · Oct 05, 2010 at 07:19 PM 0
Share

Here's the tutorial and blend file http://terrymorgan.net/make_maze_blender.zip 1.1$$anonymous$$B

avatar image John 16 · Oct 16, 2010 at 07:06 PM 0
Share

How did you get it to not fall through the floor?

avatar image hike1 · Oct 17, 2010 at 11:49 AM 0
Share

I have the wall problem solved, I made a new project, reimported standard assets, the 1st person controller I must have trashed and saved over the original. To keep from going through the floor you have to check 'mesh collision' in the mesh area or the fbx import tab. Just a note, Logitech $$anonymous$$arble $$anonymous$$ouse will hose Unity, you'll be moving backwards at all times.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by salad__fingers · Apr 08, 2012 at 12:20 AM

You need a collider on the FP controller.

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
avatar image
0

Answer by CraftyMaelyss · Sep 11, 2016 at 01:58 AM

When you click on the models in the game(like the floor, the walls and the character) you will see on the right side that there's a window called inspector. In this window you should see a button that says "add component" click on that, then in the little search bar that pops up, type in "mesh collider" and select it when it pops up.

What this will do is make the mesh of the model solid. So you do this with every model/object you have in the game and it should fix it for you, easy as pie :)

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

2 People are following this question.

avatar image avatar image

Related Questions

How do I make an enemy go through walls, etc and follow then kill the player? 0 Answers

Player going through walls 0 Answers

I cant figure out how to to go up steps and walk through a house, i just keep walking through it 0 Answers

walking on walls help 0 Answers

Detect edge of walls to climb? Like in GTA. 0 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