• 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 shane.rachel · Mar 14, 2013 at 10:39 PM · collisioncollidercapsule

Can't seem to get movement to work

I'm trying to get some basic movement, back and forth, rotating with left and right. I can get the movement to work but for some reason when I try to get the capsule to move up a sloped plane it just walks right through it, and everything for that matter. When using capsule collider or CController it collides below yet ignores the fact that there are objects in its' path.

transform.Translate doesn't seem to work, and when I switch to a rigidbody I get undesired movement, I can paste the script if anyone can help with this

Comment
Add comment · Show 2
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 shane.rachel · Mar 14, 2013 at 10:56 PM 0
Share

is there a better way to get forward motion while still being able to move up slopes?

avatar image AlucardJay · Mar 14, 2013 at 11:06 PM 0
Share

There are some character controllers on the Unify Community Wiki : http://wiki.unity3d.com/index.php/Scripts/Controllers

Or you can check my answer here for an example of using a rigidbody and modify the velocity : http://answers.unity3d.com/questions/406685/my-enemies-merge-when-they-come-towards-me.html

0 Replies

· Add your reply
  • Sort: 

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

11 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

Related Questions

How do I add a box collider to a cloth? 2 Answers

Getting Character controller to fit model? 0 Answers

Instantiate a collider already colliding with an object not working 2 Answers

Smooth Camera 2 Answers

can we attach a collider for each particle emitted by a emitter 1 Answer

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