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

From Heavy Iron Modding
Content added Content deleted
(Created page with "<onlyinclude> {{#vardefine:name|game_object:Ring}}<nowiki/> {{#vardefine:version|2}}<nowiki/> {{#vardefine:hash|0x4D81C1EE}}<nowiki/> {{#vardefine:games|TSSM}}<nowiki/> {{#var...")
 
No edit summary
Line 8: Line 8:
</onlyinclude>
</onlyinclude>
{{AutoDynaInfobox}}
{{AutoDynaInfobox}}

{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x10 || [[Vector3]] || '''position''' || Position of the ring
|-
| 0x1C || [[Vector3]] || '''rotation''' || Rotation of the ring
|-
| 0x28 || int[3] || null ||
|-
| 0x34 || [[Vector3]] || '''scale''' || Scale of the ring
|-
| 0x40 || int || '''unknownShadowFlag''' || 0 = half size shadow, 1 = full size shadow
|-
| 0x44 || float || '''radius''' || How big the collision radius is around the ring. The actual shape of the ring's collision is a flat circle, not a sphere, so this only applies to the X and Y axes.
|-
| 0x48 || float || unknown ||
|-
| 0x4C || float || unknown ||
|-
| 0x50 || float || '''normalTimer''' || Time in seconds before ring starts flashing red
|-
| 0x54 || float || '''flashTimer''' || Time in seconds ring flashes red before disappearing. -1 == default (2 seconds)
|-
| 0x58 || [[PLAT]] || '''platID''' || Driver platform for moving the ring
|}


{{DynaAssets}}
{{DynaAssets}}

Revision as of 05:38, 28 May 2021

game_object:Ring
Version2
Hash0x4D81C1EE
Games usedThe SpongeBob SquarePants Movie
Offset Type Variable Description
0x10 Vector3 position Position of the ring
0x1C Vector3 rotation Rotation of the ring
0x28 int[3] null
0x34 Vector3 scale Scale of the ring
0x40 int unknownShadowFlag 0 = half size shadow, 1 = full size shadow
0x44 float radius How big the collision radius is around the ring. The actual shape of the ring's collision is a flat circle, not a sphere, so this only applies to the X and Y axes.
0x48 float unknown
0x4C float unknown
0x50 float normalTimer Time in seconds before ring starts flashing red
0x54 float flashTimer Time in seconds ring flashes red before disappearing. -1 == default (2 seconds)
0x58 PLAT platID Driver platform for moving the ring