Retrieves the bounding box as a Dimension vector of a single shape. An Actor can consist of more than one shape. Please note that this bounding box doesn't rotate along with the object.
entity | registered Entity pointer (Actor) |
ShapeNum | Number of shape. (Range [0, inf ) |
vecOut | Get the Bounding Box Dimensions |
1 if successful, 0 otherwise.
Fast
pXent_getbounds(my, 1, vecBBox);