documentation: core2/ba/physics
This commit is contained in:
@@ -121,7 +121,7 @@ void __chTermite_ow(ActorMarker *marker, ActorMarker *other_marker){
|
||||
Actor *this;
|
||||
|
||||
this = marker_getActor(marker);
|
||||
func_80328AC8(this, 6);
|
||||
subaddie_set_state_forward(this, 6);
|
||||
}
|
||||
|
||||
void __chTermite_die(ActorMarker *marker, ActorMarker *other_marker){
|
||||
@@ -187,7 +187,7 @@ void chTermite_update(Actor *this) {
|
||||
}
|
||||
switch (this->state) {
|
||||
case 1:
|
||||
if (func_80328BD4(this, 2, 0.0f, 1, 0.06f)) {
|
||||
if (subaddie_maybe_set_state_position_direction(this, 2, 0.0f, 1, 0.06f)) {
|
||||
__chTermite_updateRandomRotationSpeed(this);
|
||||
__chTermite_updateRandomSpeed(this);
|
||||
this->unk28 = 0.0f;
|
||||
@@ -222,11 +222,11 @@ void chTermite_update(Actor *this) {
|
||||
}
|
||||
__chTermite_updateAnimationSpeed(this);
|
||||
func_80329030(this, 0);
|
||||
func_80328BD4(this, 1, 0.0f, 1, 0.047f);
|
||||
subaddie_maybe_set_state_position_direction(this, 1, 0.0f, 1, 0.047f);
|
||||
return;
|
||||
case 6:
|
||||
if (actor_animationIsAt(this, 0.95f) != 0) {
|
||||
func_80328AC8(this, 1);
|
||||
subaddie_set_state_forward(this, 1);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user