Synchronized TTC rotating solid
This commit is contained in:
parent
6a44a34d73
commit
7433f0f3b9
|
@ -31,6 +31,15 @@ void bhv_ttc_rotating_solid_init(void) {
|
|||
o->oTTCRotatingSolidNumSides = o->oBehParams2ndByte == TTC_ROTATING_SOLID_BP_CUBE ? 4 : 3;
|
||||
|
||||
o->oTTCRotatingSolidRotationDelay = sTTCRotatingSolidInitialDelays[gTTCSpeedSetting];
|
||||
|
||||
struct SyncObject* so = network_init_object(o, 4000.0f);
|
||||
so->minUpdateRate = 5.0f;
|
||||
network_init_object_field(o, &o->oTTCRotatingSolidNumTurns);
|
||||
network_init_object_field(o, &o->oTTCRotatingSolidRotationDelay);
|
||||
network_init_object_field(o, &o->oTTCRotatingSolidVelY);
|
||||
network_init_object_field(o, &o->oTTCChangeDirTimer);
|
||||
network_init_object_field(o, &o->oAngleVelRoll);
|
||||
network_init_object_field(o, &o->oFaceAngleRoll);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue