Torch
Loading...
Searching...
No Matches
BK64::ModelProp Struct Reference

#include <MapFactory.h>

Public Attributes

uint16_t unk0
uint8_t yaw
uint8_t roll
int16_t position [3]
uint8_t scale
uint8_t flags

Detailed Description

ModelProp: Static 3D model (is_actor=0, is_3d=1) - 12 bytes Decomp: model_prop_s from props.h

Structure Layout: Offset 0x00: unk0 (u16) - modelId:12, pad0_19:4 Offset 0x02: yaw (u8) - rotation Y-axis Offset 0x03: roll (u8) - rotation around local axis Offset 0x04: position[3] (s16[3]) - X, Y, Z world position Offset 0x0A: scale (u8) Offset 0x0B: flags (u8) - isModelProp:1, isActorProp:1, etc.

Asset ID = (modelId & 0xFFF) + MODEL_ASSET_OFFSET (0x2D1)


The documentation for this struct was generated from the following file: