EvilEngine/CAM
CAM | |
---|---|
Camera | |
Type | Object |
Games used | The Incredibles |
This asset defines cameras. Usually, the game takes control from you to display a certain camera for a moment, such as when talking to NPCs or showing you something elsewhere in the level.
Format
Cameras are object assets, so they start with their 0x8 byte header, then are followed by:
Offset | Type | Description |
---|---|---|
0x8 | Vector3 | Position |
0x14 | Vector3 | Normalized forward vector |
0x20 | Vector3 | Normalized up vector |
0x2C | float | Unknown |
0x30 | int | Unknown |
0x34 | int | Unknown |
0x38 | int | Unknown |
0x3C | int | Unknown |
0x40 | int | Unknown |
0x44 | short | Unknown |
0x46 | short | Unknown |
0x48 | float | Camera speed |
0x4C | float | Unknown |
0x50 | int | Unknown |
0x54 | float[9] | Unknown |
0x78 | byte[4] | Flags |
0x7C | int | Unknown |
0x80 | int | Unknown |
0x84 | int | Unknown |
Events | ||
0x88 | Event[numberOfEvents] | Events |