Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
3
Question by Tobias · Mar 27, 2010 at 12:00 AM · stairs

How to create stairs?

Hello,

Im trying to create stairs by using a stair object. Unity made the collisions for me.

I can walk up the stairs but Im stucking very often. Is it possible to tell unity that the object contains stairs? Or handle the stairs just as a diagonal?

Thank you very much

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

3 Replies

· Add your reply
  • Sort: 
avatar image
8
Best Answer

Answer by e-bonneville · Mar 27, 2010 at 12:09 AM

If you are using the FPS controller, you could increase the Step Offset. If that doesn't work for you, create a empty game object. Then, add a box collider and scale it to meet the dimensions of your stairs. Then, rotate it correctly. That should do the trick! Good luck - Elliot Bonneville

Comment
Add comment · Show 6 · 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 Eric5h5 · Mar 27, 2010 at 12:17 AM 0
Share

Yep, adding a box collider is a good idea, but adding a rigidbody is not. It's static geometry, so there's no reason to add the overhead of a rigidbody.

avatar image e-bonneville · Mar 27, 2010 at 12:20 AM 0
Share

Well, the way I was thinking is that, using the settings on the rigidbody, one could set it to kinematic... I guess that's only for meshes? Need some coffee... lol

avatar image Eric5h5 · Mar 27, 2010 at 01:18 AM 0
Share

It's not only for meshes, but there's no need for it at all when it's just static geometry. If you were making it into a retracting staircase or escalator or something else that moves, then yes.

avatar image e-bonneville · Mar 27, 2010 at 03:11 AM 0
Share

ah, ok... got it

avatar image Tobias · Mar 28, 2010 at 01:05 PM 0
Share

The Step Offset was no success.

But the Box collider was perfect! I've just made a ramp with the box =)

Thank you very much

Show more comments
avatar image
0

Answer by David Cavitt · Jun 11, 2011 at 11:03 PM

how do you get your character to walk on a collider? i'm using a 3rd person controller/character and when I try to get him to walk up a collider at an angle, he just hits the collider and stops. Is there a setting on the collider that I need to change? THanks.,How were you able to get your character to walk on a collider? I'm using a 3rd person character/controller and whenever I try to put a collider down at an angle, my character just hits the box and isn't able to walk up it? Is there a setting I need to change on the collider to allow my character to walk on it? Thanks

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 dju4ic · Jun 12, 2011 at 12:44 AM 0
Share

please dont hijack threads and post questions as answers =(

avatar image
0

Answer by 3dgreg · Jul 24, 2015 at 10:04 PM

I just did the same thing. I created the stairs in Maya, exported them as an FBX file. In Unity (5), I created a plane and buried it just underneath the stair treads so you can't see it. Player walks up and down with ease.

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 thoops99 · Nov 11, 2015 at 05:49 AM 0
Share

So you just added a box collider to an object under the stairs and it worked?

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

2.5D Stairs platformer problem 1 Answer

Navmesh create walkable obstacle while the game is running,Navmesh baking walkable terrain while playing 0 Answers

How to climb stairs / slopes with Mecanim? 1 Answer

Best way to make a physics engine allow player to walk up stairs? 1 Answer

how to walk up stairs 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