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 /
avatar image
0
Question by Random10000000000000000000000 · Mar 29, 2016 at 12:08 PM · meshbonedeform

In Game Mesh Deform With Bone

I recently imported a human model I made (skinned mesh and bones) and decided that I want the player to be able to look around by rotating the chest bone. (So when the camera looks up, the bone would rotate and the whole upper body would look up)

This worked for a while, but for some reason it randomly decided to stop working with no noticeable changes.

In the editor I can still deform the mesh with my bone, but in-game the bone will no longer rotate when my script tells it to rotate. Instead (when I pause and force it to rotate) the whole body rotates. How can I fix this to deform the mesh again in game?

(The deform working only in the editor, deformed by "Bone") alt text

editordeform.png (370.5 kB)
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 Cherno · Mar 30, 2016 at 02:01 AM 0
Share

Hard to say without a lot more information. When do you call the bone rotations? In LateUpdate()? Do you play any animations that affect the bone(s)? Have you used Debug.Log lines to see which part of your code are called?

avatar image Random10000000000000000000000 Cherno · Mar 30, 2016 at 02:46 AM 0
Share

Yeah I am eventually going to do a large scale documentation when I have time to see what happens. But I think it has to do with re-importing the model after I rotated it 90 degrees, something screwed up, but I can now import the old model and it wont work either anymore. And the old model did work before. I'm using the same import settings and everything, so it's probably something very small. I just don't have time right now, so I posted this question to see if anyone else knew what was going on in the meantime.

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.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Sync player bone/skin renderer with unet? 1 Answer

Blender import warp 1 Answer

A Blender Character for Unity - Rigging Problem 1 Answer

Bake mesh scale. 1 Answer

Meshes not deforming properly when imported from blender 1 Answer


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