• 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
Question by Alexander Sarton · Apr 17, 2011 at 12:11 PM · animationcharactercontroller3dsmax

Character controller problem?

Hello everyone.

This is the first time i try to import a model with animation in unity. I wanted to add a script which makes the character play the walk animation when moving. I know how to do that. But somehow when i apply my script to a simple cube the script seems to work but when I use it on my model from 3dsmax with animation it doesn't do anything.

Also the model seems to always be in the 0,0,0 position when i start the game no mather where i put it in the scene. And if i scale it it will bring itself back to 1,1,1 also when starting the game.

When i add a character controller it tells me: Adding a component will lose the prefab parent. And when i add the following script it will not move, while when i put the same script on a cube it will work as it has to.

http://unity3d.com/support/documentation/ScriptReference/CharacterController.Move.html Just took this script to test if it would do anything but unfortunately something seems wrong.

Anyway my unity knowledge is too low to understand whats going on here anyone knows whats wrong?

Comment
MC HALO

People who like this

1 Show 4
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 MC HALO · Apr 17, 2011 at 12:20 PM 0
Share

hey send me your project file and i will fix it all for you make sure you send me your player animations and etc. Can you please save your player as an obj because i don't have max and it i try to import them it will say max is not on your system. so save all the players animations and etc and send me along with you project folder at any of the following e-mail:

gto_oni-eyes@hotmail.com

or my google mail:

Hummad.Nazir@gmail.com

may i suggest that you create a google account if you try and send me the project folder in hotmail it will only allow you 10mb no bigger than that.

avatar image MC HALO · Apr 17, 2011 at 12:21 PM 0
Share

so if you create a google account it will allow you to upload alot more :) hope to hear from you soon :)

avatar image AngryOldMan · Apr 17, 2011 at 12:27 PM 0
Share

have you animated it in unity? or have you animated it in 3ds max and imported it over? What file have you imported it over as?

avatar image Alexander Sarton · Apr 17, 2011 at 12:40 PM 0
Share

Thanks for the comments i send my project to you MC HALO

@Bobadebob I made the animations in 3dsmax and imported the max file in unity.

2 Replies

· Add your reply
  • Sort: 
avatar image

Answer by MC HALO · Apr 17, 2011 at 02:42 PM

Just remember if you are animating an object make sure its standing in the same place else if you move it about and then export them they will not stay in the same position and they will give you major problems :)

Comment

People who like this

0 Show 0 · 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

Answer by superventure · Apr 17, 2011 at 02:45 PM

make sure that when you import your model, it facing to the front in the front view, and the RIGHT in the left view, and most importantly that it is position directly in the center of the scene in your modelling program BEFORE you import it. Import it as an FBX to, it is better.

Comment

People who like this

0 Show 0 · 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.

Update about the future of Unity Answers

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta later in June. Please note, we are aiming to set Unity Answers to read-only mode on the 31st of May in order to prepare for the final data migration.

For more information, please read our full announcement.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Quick animation question 1 Answer

Simple Sprint? 2 Answers

C# CharacterController.SimpleMove Goes on Forever 1 Answer

Animation On Mouse Click 1 Answer

C# Character Controller Collision If Statement 2 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