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 /
  • Help Room /
This question was closed Nov 04, 2015 at 05:43 PM by alfredoszrz for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by alfredoszrz · Nov 02, 2015 at 12:05 AM · movementpositioncharactercontroller

Ethan unable to leave a position on the scene

My scene consists of the third person model Ethan on a plane. Ethan has two scripts attached: Third Person User Control and Third Person Character. When the play buttom is pressed, Ethan responds to wasd and direction keys by playing its running and jumping animations on the same position on the scene without actually moving. What can I do to correct this?

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

2 Replies

  • Sort: 
avatar image
0

Answer by CosmoM · Nov 02, 2015 at 02:54 AM

In the Inspector, make sure that under Animator the box "Apply root motion" is checked. The scripts do not control Ethan directly but only his animations, so you have to tell Unity to move him correspondingly in this way.

Comment
Add comment · Show 9 · 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 alfredoszrz · Nov 02, 2015 at 02:41 PM 0
Share

I do not think i have a checkbox for "Apply root motion" Would you like to see more pictures of the Inspector?

animator.jpg (28.0 kB)
avatar image CosmoM · Nov 02, 2015 at 02:59 PM 0
Share

Oh I see, it's already set to "Handled by script", which should also be fine... Hmm. Can you show Ethan's Rigidbody component, with "Constraints" expanded?

avatar image alfredoszrz · Nov 02, 2015 at 03:07 PM 0
Share

alt text

constraints.jpg (24.5 kB)
avatar image CosmoM · Nov 02, 2015 at 03:10 PM 0
Share

Ah, there's your problem. :-) "Is$$anonymous$$inematic" should be off.

avatar image alfredoszrz · Nov 02, 2015 at 03:32 PM 0
Share

If I uncheck its kinematic, I am faced with the same problem but in a different position. I also get a lot of warnings in the console saying "Animator has not been initialized" and " The reference script on this behaviour is missing"

cinematico.jpg (30.9 kB)
Show more comments
avatar image
0

Answer by alfredoszrz · Nov 04, 2015 at 04:41 PM

Fix it! The problem was that I was using the Ethan's Model, what I should have been using is the Ethan's prefab.

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

Follow this Question

Answers Answers and Comments

39 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 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

Character Will Not Move from Spot (At All) 0 Answers

MoveTowards is curving for no reason 0 Answers

How to make character look at movement direction? 1 Answer

First person movement with character controller does not detect ground properly 0 Answers

how would you go about implementing terraria controls in unity? 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