GetNode/Pivot?

Blitz3D Forums/Blitz3D Programming/GetNode/Pivot?

Gauge(Posted 2003) [#1]
Is there a way to get the nodes or pivots of a 3d mesh? Does it work like CountSurfaces/Getsurfaces, or triangles etc? I'm trying to figure out a good way to attach a weapon to a 3d mesh.


Beaker(Posted 2003) [#2]
CountChildren() or take look at my NextChild() function in the 3D code archives.


Yan(Posted 2003) [#3]
If you know the name of the bone/node/pivot/joint (I'm not sure what the correct terminology is either ;o)) then you can simply use FindChild("jointname") without having to iterate through the models hierarchy.


YAN


Gauge(Posted 2003) [#4]
Once you get a child, how can you determine if its a pivot/node or a mesh?


Beaker(Posted 2003) [#5]
EntityClass()


Gauge(Posted 2003) [#6]
thanks!