• 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 Domo23000 · Feb 22, 2015 at 05:26 PM · rigidbodyjumpwasdramp

Rigidbody Stick To Floor

Hello. Thanks to anyone who answers or comments. I have a rigid body character, with basic jump and WASD movement. Everything works fine until I run up a ramp or anything elevated. Because I am using a rigid body the velocity goes up the ramp and I fly off the ground. Is there some way that I can prevent this? I tried ray casting but that doesn't seem to work well or i did the math wrong.

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by gkepets · Feb 22, 2015 at 06:06 PM

On your character controller you will see slope limit and a step offset. Those might be your problem, because when a slope is to much for the character it will bounce backwards sometimes

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 Domo23000 · Feb 23, 2015 at 03:07 AM 0
Share

It's a rigidbody character not character controller

avatar image Domo23000 · Feb 23, 2015 at 03:09 AM 0
Share

and my problem is not bouncing, it's more like running up a ramp with a floor at the top of the ramp, but when you get to the top you keep going the direction the ramp is pointing basically, but with terrain.

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

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

Related Questions

How to drag object faster to the ground? 3 Answers

i have the code to move my rigid body upward. 1 Answer

How to make sure that my cube can only jump when in contact with the ground 2 Answers

Jump off the edge of the object 1 Answer

I need help with a movement script 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges