entity and its child
Blitz3D Forums/Blitz3D Programming/entity and its child
| ||
I save a b3d model with 3dsmax. Inside the model there some cube that moving along a path. i use findchild to find the child and use animate but blitz say that entity has no animation. Ok this is because the entity isn't root. HOw can extract the animation for each entity |
| ||
You should loop through the root's animation, and then use SetAnimKey on each child. |
| ||
ok! i will try this.many thanks |
| ||
NOw i have setup setanimkey entity,1 for each entity there is in b3d file, but when i use animate blitz say entity has no animation |
| ||
Other than with SetAnimKey, LoadAnimMEsh is not thought to load multiple animations in one file. They have to be played all together as one animation. Solution: save them seperately, then load them in blitz and parent them to a pivot. This way you can animate each child. |
| ||
I load each entity in memory using type, than i use setanimkey for each entity (it is the same frame for all entities...). BUt not works.... I just know of separate saving.... |
| ||
I converted the LoadAnimMesh example and tested it on a .b3d animated mesh. It needs a .b3d file, and a 'subobject' needs to be defined. It works, but it might need some adjustments to fit your model. |
| ||
Ok there is all of i asked but how define a subobjects in max |