Compare commits
2 commits
d73d06665a
...
7ec1cc885b
Author | SHA1 | Date | |
---|---|---|---|
yuni | 7ec1cc885b | ||
yuni | 83cc58c6cd |
|
@ -857,7 +857,7 @@ fn handle_wants_acceleration(
|
||||||
delta_v =
|
delta_v =
|
||||||
(trans.rotation.inverse() * stop_direction.normalize()).as_dvec3();
|
(trans.rotation.inverse() * stop_direction.normalize()).as_dvec3();
|
||||||
engine.currently_matching_velocity = true;
|
engine.currently_matching_velocity = true;
|
||||||
thruster_on = true;
|
thruster_on = true; // is this redundant?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -876,6 +876,7 @@ fn handle_wants_acceleration(
|
||||||
if delta_v.length_squared() > 0.003 {
|
if delta_v.length_squared() > 0.003 {
|
||||||
// Engine is firing!
|
// Engine is firing!
|
||||||
thruster_on = true;
|
thruster_on = true;
|
||||||
|
engine.currently_firing = true;
|
||||||
engine.current_warmup =
|
engine.current_warmup =
|
||||||
(engine.current_warmup + dt / engine.warmup_seconds).clamp(0.0, 1.0);
|
(engine.current_warmup + dt / engine.warmup_seconds).clamp(0.0, 1.0);
|
||||||
|
|
||||||
|
@ -932,6 +933,7 @@ fn handle_wants_acceleration(
|
||||||
// Engine is not firing
|
// Engine is not firing
|
||||||
engine.current_warmup =
|
engine.current_warmup =
|
||||||
(engine.current_warmup - dt / engine.warmup_seconds).clamp(0.0, 1.0);
|
(engine.current_warmup - dt / engine.warmup_seconds).clamp(0.0, 1.0);
|
||||||
|
engine.currently_firing = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if is_player.is_some() {
|
if is_player.is_some() {
|
||||||
|
|
|
@ -1150,6 +1150,9 @@ fn spawn_scenes(
|
||||||
// command: armodel suit_ar_dress
|
// command: armodel suit_ar_dress
|
||||||
state.ar_models.push("suit_ar_dress".to_string());
|
state.ar_models.push("suit_ar_dress".to_string());
|
||||||
|
|
||||||
|
// command: armodel suit_ar_choker
|
||||||
|
state.ar_models.push("suit_ar_choker".to_string());
|
||||||
|
|
||||||
// command: pronoun she
|
// command: pronoun she
|
||||||
state.pronoun = Some("she".to_string());
|
state.pronoun = Some("she".to_string());
|
||||||
} else if template == "cultleader" {
|
} else if template == "cultleader" {
|
||||||
|
|
Loading…
Reference in a new issue