< EvilEngine(Redirected from COLL)
|Games used||Battle for Bikini Bottom|
The SpongeBob SquarePants Movie
A collision table is used to give some models a specific mesh for collision detection by other objects and the in-game camera. This is commonly used to give high-poly models much less lower detailed versions of themselves, in order to reduce the amount of processing required during collision detection.
By default, any model not included in this table uses itself as its collision mesh against other objects, and no collision mesh against the camera (meaning the camera can pass through it).
The asset data starts with an int which defines the amount of entries in the collision table, then the entries themselves.
|0x00||uint||sTableCount||Amount of COLL table entries.|
|0x04||AssetID||colModel||Collision model. If null, defaults to the same model.|
|0x08||AssetID||camcolModel||Camera collision model. If null, defaults to no model (camera can pass through it).|