Obi Official Forum
Help When I use ObiBone with my blender model, all bones are clustered together. - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html)
+--- Thread: Help When I use ObiBone with my blender model, all bones are clustered together. (/thread-4216.html)



When I use ObiBone with my blender model, all bones are clustered together. - lu_dens - 13-05-2024

When I use ObiBone with my blender model, all bones are clustered together. How can I fix it?
All parameters are same as sample's(CharacterTentacles).
When I use Mixamo's models, everything looks normal.
Is there any specific requirement for obiBone in terms of model setup?


RE: When I use ObiBone with my blender model, all bones are clustered together. - josemendez - 13-05-2024

(13-05-2024, 04:26 PM)lu_dens Wrote: When I use ObiBone with my blender model, all bones are clustered together. How can I fix it?
All parameters are same as sample's(CharacterTentacles).
When I use Mixamo's models, everything looks normal.
Is there any specific requirement for obiBone in terms of model setup?

Hi,

Make sure your bones have unit scale. Blender FBX exporter by default exports transforms with a scale of 100 (since Unity and Blender use different units).

Kind regards,


RE: When I use ObiBone with my blender model, all bones are clustered together. - lu_dens - 14-05-2024

(13-05-2024, 04:42 PM)josemendez Wrote: Hi,

Make sure your bones have unit scale. Blender FBX exporter by default exports transforms with a scale of 100 (since Unity and Blender use different units).

Kind regards,
It is fixed now! thanks !

(13-05-2024, 04:42 PM)josemendez Wrote: Hi,

Make sure your bones have unit scale. Blender FBX exporter by default exports transforms with a scale of 100 (since Unity and Blender use different units).

Kind regards,
There is a new problem, When I scale down the model, it seems that the bones are still being calculated based on the original size. How do I make it so that they operate based on the scaled-down proportion?


RE: When I use ObiBone with my blender model, all bones are clustered together. - josemendez - 14-05-2024

(14-05-2024, 04:04 AM)lu_dens Wrote: There is a new problem, When I scale down the model, it seems that the bones are still being calculated based on the original size. How do I make it so that they operate based on the scaled-down proportion?

Are you scaling the model to solve the original issue? You shouldn't do that, the solution would be to re-export your character at the correct scale you want to use. There's 3 scaling values you need to be mindful about: the scale at which you export your objects (from Blender or any other software), the scale at which you import them in Unity (the "scale factor" value in Unity's mesh import settings), and the scale you apply at runtime (the "scale" values of the transform component).

In case you're changing transform scale at runtime (to make a growing/shrinking character for instance), make sure to scale the entire ObiSolver, not just the bones. Scaling the solver will scale down the entire simulation space, which is the result you want for a character. See: http://obi.virtualmethodstudio.com/manual/6.3/obisolver.html

Quote:Solvers always perform the simulation in local space. This means that translating, rotating or scaling the solver will rigidly transform the simulation as a whole.

Scaling individual bones is not supported, because applying rotation before non-uniform scaling (which is what the simulations needs to do) yields shear which is almost never a desired outcome.

kind regards,