Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Functions | Variables
ttc_pendulum.inc.c File Reference

Functions

void bhv_ttc_pendulum_init (void)
 Init function for bhvTTCPendulum. More...
 
void bhv_ttc_pendulum_update (void)
 Update function for bhvTTCPendulum. More...
 

Variables

static f32 sTTCPendulumInitialAccels []
 Behavior for bhvTTCPendulum. More...
 

Function Documentation

◆ bhv_ttc_pendulum_init()

void bhv_ttc_pendulum_init ( void  )

Init function for bhvTTCPendulum.

◆ bhv_ttc_pendulum_update()

void bhv_ttc_pendulum_update ( void  )

Update function for bhvTTCPendulum.

If the pendulum is moving fast enough, the vel could fail to

By manipulating this, we can cause the pendulum to reach

Variable Documentation

◆ sTTCPendulumInitialAccels

f32 sTTCPendulumInitialAccels[]
static
Initial value:
= {
13.0f,
22.0f,
13.0f,
0.0f,
}

Behavior for bhvTTCPendulum.

This is not the pendulum inside the clock in the castle, but rather the one in TTC itself. Initial angle acceleration.