Biped and Physique

The following topics describe the MAXScript access to Biped systems and the Physique modifier:

The following is an example of accessing Physique data:

Example:

phy = GetPhyContextExport $ $.physique

format "Physique Export Interface\n"

for v=1 to phy.numVerts do

(  

vx = GetVertexInterface phy v

p = GetOffsetVector vx

--

format "\tVertex # % assigned to %\t " (v-1) (GetNode vx).name

format "%\n" (if (classOf vx) == PhyRigidVertex then "RIGID_TYPE")

format "\tOffset X: % Offset Y :% Offset Z: %\n" p.x p.y p.z

)