i think if you have child meshes you need to set up a recursive routine and change each bit. (Some terrain programs export a pivot with attached child 'alpha' layers.)
ie: (may need refining, its straight out of my head)
mesh=loadanimmesh(mymesh)
RecMeshFX (mesh,16)
;Recursive mesh modifier (gets every object in mesh)
function RecMeshFX(mesh,flagsvalue)
if entityclass(mesh)="Mesh"
entityfx mesh,flagsvalue
endif
for cc=1 to countchildren(mesh)
chi=getchild(mesh,cc)
RecMeshFX(chi,flagsvalue)
next
end functon
|