Skip to content

setagentworldtransform

int  setagentworldtransform(int geohandle, int prim, matrix transform, int index)

geohandle

Handle to the geometry to write to. geoself() can be used to get a handle to the current geometry.

prim

The primitive number.

transform

The new transform (in world space) of the bone.

index

Index of a transform in the agent’s rig.