Area Collision (File Format): Difference between revisions

Jump to navigation Jump to search
>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
 
(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 (File Format)|DCLN]] format, but there are a few parts that are exclusive to MREA.
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.
|-
|-
| 0x14
| 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.
|-
|-
| 0x18
| 0x2C
| u32
| u32
| 1
| 1
Line 57: Line 57:
| Size of the collision octree.
| Size of the collision octree.
|-
|-
| 0x1C
| 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 (File Format)|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}}
Anonymous user

Navigation menu