Hi! I'd like to know the differences between ISkinnedMesh and IAnimatedMesh and how to create an ISkinnedMesh from a mesh.
I watch the documentation but I cannot understand...
Thanks.
ISkinnedMesh?
-
- Posts: 24
- Joined: Tue Oct 14, 2008 7:41 am
I have an .ms3d file, does it support skinning?JP wrote: You can't create one yourself you just get given one from smgr->getMesh(..) if the mesh you're loading is of a format that uses skinning.
Last edited by darkmaster83 on Thu Nov 13, 2008 11:00 am, edited 2 times in total.
-
- Posts: 24
- Joined: Tue Oct 14, 2008 7:41 am
OK! Thanks!JP wrote:Yup, so long as the model in the .ms3d file is actually skinned i guess
I use that code to create it:
Code: Select all
scene::ISkinnedMesh* mesh2 = (ISkinnedMesh*) smgr->getMesh("humanoid.ms3d");