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

no edit summary
(Add format)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
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 || uint[[AssetID]] || '''object''' ||
|-
| 0x040x14 || [[Vector3]] || '''pivot''' ||
|-
| 0x100x20 || [[Vector3]] || '''handle''' ||
|-
| 0x1C0x2C || floatf32 || '''onGravity''' ||
|-
| 0x200x30 || floatf32 || '''offGravity''' ||
|-
| 0x240x34 || floatf32 || '''maxAngVel''' ||
|-
| 0x280x38 || floatf32 || '''minArcDegrees''' ||
|-
| 0x2C0x3C || uintu32 || '''hangFlags''' ||
|}
 
2,079

edits