SC_setupComplexObject
SYNTAX
SC_setupComplexObject objNum , GroupNum , FacesPerNode
-objNum: the object you want to setup
-groupNum: the group that you want this object to belong to (0 for no group)
-FacesPerNode: sets the maximum number of faces per tree node, usually the smaller this value the better the performance, if unsure of this value set it to 2
almost exactly the same as setup object except this command will setup optimized polygon collision on a
complex (high poly) object so that you get much better performance for these types of object.
realistically three is little difference between this and normal polygon collision
for objects of less than 30-40 polys, but higher polycounts definately benifit from higher performance.
You can think of it as splitting the object up into little bits, of size specified by facesPerNode,
and only checking collision with sections near a collision, therefore cutting out alot of polygons.
Updated from memblocks to use direct vertex access
RELATED INFO
Collision Commands Menu
Index