Synchronized TTC pendulum
This commit is contained in:
parent
788dc5310c
commit
4cb089c428
|
@ -24,6 +24,15 @@ void bhv_ttc_pendulum_init(void) {
|
|||
} else {
|
||||
o->oTTCPendulumAngle = 6371.5557f;
|
||||
}
|
||||
|
||||
struct SyncObject* so = network_init_object(o, 4000.0f);
|
||||
so->minUpdateRate = 5.0f;
|
||||
network_init_object_field(o, &o->oTTCPendulumAccelDir);
|
||||
network_init_object_field(o, &o->oTTCPendulumAngle);
|
||||
network_init_object_field(o, &o->oTTCPendulumAngleVel);
|
||||
network_init_object_field(o, &o->oTTCPendulumAngleAccel);
|
||||
network_init_object_field(o, &o->oTTCPendulumDelay);
|
||||
network_init_object_field(o, &o->oTTCPendulumSoundTimer);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue