Alchemy
Loading...
Searching...
No Matches

SpringTossMotion Struct Reference

The tossed coin or medal: its last four positions for the trail, its velocity and the frames the prize rings still pull it. More...

Data Fields

u8 unk00 [2]
s16 launchFrame
struct Vector3 trail [4]
 16.16 fixed-point pixels
struct Vector3 shadow
struct Vector3 velocity
 16.16 fixed-point pixels per frame
s32 attractionFrames

Detailed Description

The tossed coin or medal: its last four positions for the trail, its velocity and the frames the prize rings still pull it.

Definition at line 81 of file tolbi_spring.c.

Field Documentation

◆ unk00

u8 SpringTossMotion::unk00[2]

Definition at line 82 of file tolbi_spring.c.

◆ launchFrame

s16 SpringTossMotion::launchFrame

Definition at line 83 of file tolbi_spring.c.

Referenced by TolbiSpring_RunToss(), and TolbiSpring_UpdateTossSimulation().

◆ trail

struct Vector3 SpringTossMotion::trail[4]

16.16 fixed-point pixels

Definition at line 84 of file tolbi_spring.c.

Referenced by TolbiSpring_InitializeTossSimulation(), TolbiSpring_RunToss(), and TolbiSpring_UpdateTossSimulation().

◆ shadow

struct Vector3 SpringTossMotion::shadow

Definition at line 85 of file tolbi_spring.c.

Referenced by TolbiSpring_UpdateTossSimulation().

◆ velocity

struct Vector3 SpringTossMotion::velocity

16.16 fixed-point pixels per frame

Definition at line 86 of file tolbi_spring.c.

Referenced by TolbiSpring_InitializeTossSimulation(), TolbiSpring_RunToss(), and TolbiSpring_UpdateTossSimulation().

◆ attractionFrames

s32 SpringTossMotion::attractionFrames