Displaying bones of B3D
Blitz3D Forums/Blitz3D Programming/Displaying bones of B3D
| ||
I want to display the bones of a B3D model, but they all end up in the wrong spot.. i get all the children from the B3D, then place spheres on screen at the entityx,y,z of the found children.. this looks nothing like the bone structure of my B3D model :) Any ideas? Tracer |
| ||
example Elf=LoadAnimMesh(mesh) for nkk=0 to num_bones bones(n)=FindChild (mesh,bones$(n)) cc(n)=createcube(bones(n)) scaleentity cc(n),.01,.01,.01 next and i see a point of bones Mongia |
| ||
You're using EntityX#(Bone,True) etc, aren't you? Otherwise the coordinates will be relative instead of global. |
| ||
Parent the spheres to the children and place them at 0,0,0 [EDIT] Redundant, I just saw thats what mongia2 does too. |
| ||
Sybixsus, that was it :) I wasn't even aware that those commands take a local/global boolean :) Thanks man, Tracer |