EvilEngine/DYNA/game object:Hangable: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
No edit summary
 
Line 1:
<onlyinclude>
{{#vardefine:name|game_object:Hangable}}<nowiki/>
{{#vardefine:version|1}}<nowiki/>
{{#vardefine:hash|0x1D3C54EE}}<nowiki/>
{{#vardefine:games|Incredibles ROTU}}<nowiki/>
Line 8:
</onlyinclude>
{{AutoDynaInfobox}}
 
==Format==
<source lang=cpp>
struct zHangableAsset : xDynAsset
{
unsigned int object;
xVec3 pivot;
xVec3 handle;
float onGravity;
float offGravity;
float maxAngVel;
float minArcDegrees;
unsigned int hangFlags;
};
</source>
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x000x10 || [[AssetID]] || '''object''' ||
|-
| 0x040x14 || [[Vector3]] || '''pivot''' ||
|-
| 0x100x20 || [[Vector3]] || '''handle''' ||
|-
| 0x1C0x2C || floatf32 || '''onGravity''' ||
|-
| 0x200x30 || floatf32 || '''offGravity''' ||
|-
| 0x240x34 || floatf32 || '''maxAngVel''' ||
|-
| 0x280x38 || floatf32 || '''minArcDegrees''' ||
|-
| 0x2C0x3C || uintu32 || '''hangFlags''' ||
|}
 

Latest revision as of 15:22, 19 September 2023

game_object:Hangable
Version1
Hash0x1D3C54EE
Games usedThe Incredibles
Rise of the Underminer

Format

struct zHangableAsset : xDynAsset
{
    unsigned int object;
    xVec3 pivot;
    xVec3 handle;
    float onGravity;
    float offGravity;
    float maxAngVel;
    float minArcDegrees;
    unsigned int hangFlags;
};
Offset Type Variable Description
0x10 AssetID object
0x14 Vector3 pivot
0x20 Vector3 handle
0x2C f32 onGravity
0x30 f32 offGravity
0x34 f32 maxAngVel
0x38 f32 minArcDegrees
0x3C u32 hangFlags