B3D Animation Help Needed

Community Forums/Developer Stations/B3D Animation Help Needed

Makepool(Posted 2004) [#1]
I’m using 3D Studio Max to try and animate a boned mesh in blitz exporting with b3dpipline. My problem is that I can only animate by first using GetChild and using Animate on handle returned by that, I was told that I need to turn the mesh into the Root of the scene in B3D pipeline/3D Studio, how do I go about making the mesh itself the scene root?

Eg

Instead of having to use this code to animate:

Robot = LoadAnimMesh("C:\Documents and Settings\Chewy\My Documents\Models\Marine_Walk.b3d")

b = GetChild (robot,3)

Animate b,1,0.35,0;,100



I simply want to animate like this:

Robot = LoadAnimMesh("C:\Documents and Settings\Chewy\My Documents\Models\Marine_Walk.b3d")

Animate Robot,1,0.35,0;,100



Beaker(Posted 2004) [#2]
Turn off the "scene root" option in the exporter.

Also, check the b3dpipeline forum here:
http://playerfactory.proboards25.com


Traci(Posted 2004) [#3]
This doesn't always work however if you have more than one scene root ie two meshes such as the head and body, or a weapon. In this case you have to use getchild, findchild or write your own routine for cycling through the child meshes to animate them.