Pivots in .b3d format

Blitz3D Forums/Blitz3D Programming/Pivots in .b3d format

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hey, you could try and use the FindChild command.

Make sure you give the object in 3d max a name, then do:

pivot=FindChild(entity,"pivotname")


where entity is the file you load in, and "pivotname" is what you called the pivot in 3ds Max. You can now use the handle pivot to find it's position :D

x=EntityX(pivot,true)
y=EntityY(pivot,true)
z=EntityZ(pivot,true)