Jump to content

[SOLVED] editor will not allow to add animation file


photo

Recommended Posts

Posted

Editor will not allow to add animation file :(

So its not playing :(

Why is this happening!

Thanks
Paul

post-1284-0-16276600-1399969241_thumb.png

The other image says can't find bones in animation but it work fine in Mesh Viewer - what is going wrong!

post-1284-0-11380800-1399970763_thumb.png

Animation file attached :
https://www.dropbox.com/s/hdyyq4p2ou8psby/anim.zip

 

It works in Mesh Viewer:

 

post-1284-0-82029300-1399972049_thumb.png

 

 

 

Posted

Hello,

I'm afraid that names of bones are different in *.smesh and *.sanim file you've send.
So it is not working in MeshViewer the same way.

Check the following steps:
 - Load mesh: load *.smesh
 - Load mesh: select Animation only and load *.sanim
 
If you have some problems with animation export from 3D Editors, you can save animation from MeshViewer. You can find some instruction in this forum topic.
 

Posted

Why does it play in my Mesh Viewer ?

Posted

But you need both (.smesh and .sanim) for the engine ?

Posted

You could use animation from *.smesh file only, if you don't need to combine or change animation.
 More information about animation in Unigine here in docs.

Also you can find some useful tips in tutorials

  • 1 year later...
Posted

Hi !
I have the same "can't find bones" problem.

I'm working with CAT Rig. Maybe CAT Rigs are the problem ?
The .anim has got all the right bones, but it can't be read in Unigine. I have added a right root bone. Everything is correctly linked and parented.

I hope you can help me !

Thank's
Nicolas

Posted

Hi Nicolas,

 

Could you please send us problematic *.anim + *.mesh files? We will try to find out what is happening. Also, if you could send an original model as well it would be really helpful.

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Hi Nicolas,

 

*.obj files are not designed to have a skinning geometry (only static geometry without bones is supported). So, I'm afraid it is not possible to make a skinned geometry from *.obj file.

 

I've also checked your *.mesh file - it doesn't contain any bones (just load the model in ResourceEditor and you will see it).

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

I don't think the *.mesh file need to contain any bones. No doubt the problem is coming from the *.anim.

But I can't find how to resolve this problem. My file is just the same as the agent example !

Posted

Hi Nicolas,

 

I'm afraid, skinned geometry should contain bones (so called skin controller or skin clusters). Your file is not the same that included in <SDK>/data/samples/animation/meshes directory and it could not be used for animation because it contains only static geometry and engine handle such file as a static mesh.

 

skinned_geometry.jpg

 

How to export skinned geometry from 3ds Max or Maya you can find in our documentation:

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

×
×
  • Create New...