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 Finamore · Apr 02, 2011 at 03:04 PM · rotationmovementscalefbx3dsmax

Problems importing FBX model from 3DS and applying movement

Greetings all.

We are working on a small project to know the unity and we are having some issues importing the models created in 3DS to Unity.

We created the character on 3DS 2011 with the biped and an simple animation. It looks fine on 3DS and when I import on Unity, it brings me the following structure:

Unity Structure

So far so good. But when I check the properties of these objects, each one of it comes with a different rotation and scale:

Root Object (Zombie (1)) - Rotation 0,0,0 and Scale 1,1,1 Zombie001 - Rotation 90,0,0 and Scale -0.0254, -0.0254, -0.0254 Zombie002 - Rotation 0,180,180 and Scale -0.7 , -0.7 , -0.7 Bip001 - Rotation 270,90,0 and scale 0.0254, 0.0254, 0.0254

After importing, on the FBX importer tab I set the scale from 0.01 to 1 (we defined the right scale on the 3DS, so 1 works fine) and check the "Generate Colliders" Option.

When I add the object to the scene, the animation goes to the Root Object, the Zombie002 got the Skinned Mesh Renders but the Zombie001 is empty. I checked every child object (including everything in the biped) but I cannot find the collider it was supposed to generate.

When I try to add a collider (I tried Capluse, Box and Mesh Colliders), it is out of center with the texture, so I need to correct by hand.

After doing this, the object moves all wrong, usually going up, as if there was no gravity applied(and the is. I added the Rigid Body on it) and sometimes running backwards. My movement script is a simple one the align the zombie with the player and apply a force to move.

myTransform.position += myTransform.forward * moveSpeed * Time.deltaTime;

My questions are:

1 - What do I need to change on the 3DS file to import with the right rotation? On 3DS everything looks fine, with the right scale and rotation.

2 - Where I should apply the Rigid Body? (Root Object? Zombie002? Create an Empty?)

3 - How to fix the wrong movement? Change the way I move the object?

Thanks!!!

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 bisciasia · Apr 28, 2011 at 06:22 PM

for move correctly an object by using its tranform object you have to put rigidbody to kinematic mode. if you want that movement is under physics control you have to apply force to it without modify directly transorm. if you object move wrong,you can set constrains at you rigidbody bi using the inspector ;) rigidbody must attached directly on you game object ;)

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

No one has followed this question yet.

Related Questions

Keep Unity's movement, rotation, and scale interface 1 Answer

Weird results when importing rotation animations. 1 Answer

How to rotate a custom tree ? 1 Answer

Model can't be rescaled... Weird bug or user oversight? 1 Answer

FBX importer transform scale (NOT the 0.01 issue) 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