Area Collision (File Format): Difference between revisions
Jump to navigation
Jump to search
Area Collision (File Format) (view source)
Revision as of 20:03, 30 December 2016
, 30 December 2016→Format
>Aruki (Created page with "The format for '''area collision''' stores the collision geometry for levels, and can be found in the MREA format. Most of it is shared with the DCLN...") |
>Aruki (→Format) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
The format for '''area collision''' stores the collision geometry for levels, and can be found in the [[MREA (File Format)|MREA]] format. Most of it is shared with the [[DCLN ( | The format for '''area collision''' stores the collision geometry for levels, and can be found in the [[MREA (File Format)|MREA]] format. Most of it is shared with the [[DCLN (Metroid Prime)|DCLN]] format, but there are a few parts that are exclusive to MREA. | ||
__TOC__ | __TOC__ | ||
| Line 16: | Line 16: | ||
| 1 | | 1 | ||
| {{unknown|Unknown}} | | {{unknown|Unknown}} | ||
| Always 0x01000000 | | Always <code>0x01000000</code> | ||
|- | |- | ||
| 0x4 | | 0x4 | ||
| Line 45: | Line 45: | ||
| Bounding box of the collision mesh. This is also the bounding box of the root node of the octree. | | Bounding box of the collision mesh. This is also the bounding box of the root node of the octree. | ||
|- | |- | ||
| | | 0x28 | ||
| u32 | | u32 | ||
| 1 | | 1 | ||
| Line 51: | Line 51: | ||
| Node type for the root node. This is almost always 1 (Branch) but there ARE some areas that use other values for this. | | Node type for the root node. This is almost always 1 (Branch) but there ARE some areas that use other values for this. | ||
|- | |- | ||
| | | 0x2C | ||
| u32 | | u32 | ||
| 1 | | 1 | ||
| Line 57: | Line 57: | ||
| Size of the collision octree. | | Size of the collision octree. | ||
|- | |- | ||
| | | 0x30 | ||
| [[#Collision Octree|Collision Octree]] | | [[#Collision Octree|Collision Octree]] | ||
| 1 | | 1 | ||
| Line 67: | Line 67: | ||
| 1 | | 1 | ||
| '''Collision Index Data''' | | '''Collision Index Data''' | ||
| Index data for the collision mesh. This data section is what actually defines the collision mesh itself. This part of the format is shared with [[DCLN ( | | Index data for the collision mesh. This data section is what actually defines the collision mesh itself. This part of the format is shared with [[DCLN (Metroid Prime)|DCLN]]. | ||
|- | |- | ||
| colspan=5 {{unknown|End of MREA Collision Section}} | | colspan=5 {{unknown|End of MREA Collision Section}} | ||