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 helios · Apr 28, 2012 at 11:43 PM · charactercontrollerslopeshill

Why is my CharacterController slowing on hills?

I am using a CC for a platforming game and everything is going great except for when the CC moves on slopes. It hardly makes it up even a 45 degree slope. The slope limit is high, so it has nothing to do with that. There are no downward forces going on either. Any ideas?

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
3

Answer by Fabkins · Apr 29, 2012 at 12:06 AM

Its an attribute of the character controller. You can change it in the inspector. Look at the Slope Speed Multiplier.

alt text

Double click on it and you can change the curve.


slope.jpg (59.4 kB)
Comment
Add comment · Show 3 · 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 helios · Apr 29, 2012 at 12:15 AM 0
Share

Thanks for your reply. I'm not using that Character $$anonymous$$otor script though, just the CharacterController component.

avatar image Fabkins · Apr 29, 2012 at 12:17 AM 0
Share

Ah ....

Well in which case the Character controller also has a "Slope Limit"

avatar image rsodre · Jul 18, 2012 at 12:13 AM 0
Share

The Slope Speed $$anonymous$$ultiplier has no effect for me. I made it a straight line at 1.0, curve from 1.0 to 2.0, and the player always slows down on slopes.

avatar image
0

Answer by Fabkins · Apr 29, 2012 at 12:19 AM

Try?

alt text


slope2.jpg (24.7 kB)
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 Owen-Reynolds · Apr 29, 2012 at 12:27 AM 0
Share

That's the cut-off for whether CC.move will/won't move forwards (but the script controls whether you can stand on something that steep.)

I believe slowing down up to that point is also built-in to the CC.move function (the same magic that slides you if you hit a slanted wall.)

avatar image Fabkins · Apr 29, 2012 at 12:31 AM 0
Share

Uhm.... not sure then.

avatar image
0

Answer by Kalocyte · Dec 12, 2013 at 09:35 PM

When editing the Slope Speed Multiplier you also have to edit the Step Offset. Step Offset also seems to affect on the speed on slopes. Not quite sure how and why exactly though.

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

6 People are following this question.

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

Related Questions

How do I make my character fall off slopes grater than its slope limit? 0 Answers

[Character controller] run faster on slopes and jetpack 1 Answer

Sliding down a slope with a character controller 1 Answer

How to rotate CharacterController on slope 0 Answers

CharacterController slower on slopes (up and down) 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