fix atmosphere in vehicles
This commit is contained in:
parent
cd08e36a49
commit
1ce78a5816
|
@ -799,6 +799,7 @@ fn spawn_scenes(
|
|||
match template {
|
||||
"cruiser" => {
|
||||
state.model = Some("cruiser".to_string());
|
||||
state.id = String::from("vehicle_cruiser");
|
||||
|
||||
// command: name "Midnight Cruiser"
|
||||
state.name = Some("Midnight Cruiser".to_string());
|
||||
|
@ -809,6 +810,7 @@ fn spawn_scenes(
|
|||
|
||||
// command: vehicle yes
|
||||
state.is_vehicle = true;
|
||||
state.is_experiencing_atmosphere = true;
|
||||
|
||||
// command: angularmomentum 0 0 0
|
||||
state.angular_momentum = DVec3::ZERO;
|
||||
|
@ -837,6 +839,7 @@ fn spawn_scenes(
|
|||
}
|
||||
"meteorace" => {
|
||||
state.model = Some("MeteorAceGT".to_string());
|
||||
state.id = String::from("vehicle_meteorace");
|
||||
|
||||
// command: name "MeteorAceGT™"
|
||||
state.name = Some("MeteorAceGT™".to_string());
|
||||
|
@ -847,6 +850,7 @@ fn spawn_scenes(
|
|||
|
||||
// command: vehicle yes
|
||||
state.is_vehicle = true;
|
||||
state.is_experiencing_atmosphere = true;
|
||||
|
||||
// command: angularmomentum 0 0 0.2
|
||||
state.angular_momentum = DVec3::new(0.0, 0.0, 0.2);
|
||||
|
@ -876,6 +880,7 @@ fn spawn_scenes(
|
|||
}
|
||||
"whale" => {
|
||||
state.model = Some("whale".to_string());
|
||||
state.id = String::from("vehicle_whale");
|
||||
|
||||
// command: name "The Whale"
|
||||
state.name = Some("The Whale".to_string());
|
||||
|
@ -886,6 +891,7 @@ fn spawn_scenes(
|
|||
|
||||
// command: vehicle yes
|
||||
state.is_vehicle = true;
|
||||
state.is_experiencing_atmosphere = true;
|
||||
|
||||
// command: angularmomentum 0 0.015 0
|
||||
state.angular_momentum = DVec3::new(0.0, 0.015, 0.0);
|
||||
|
|
|
@ -351,6 +351,7 @@ actor 700 -100 -1100 suitv2
|
|||
actor -20 10 -23 MeteorAceGT
|
||||
name "Luna's experimental MeteorAceGT"
|
||||
relativeto Luna
|
||||
id vehicle_meteorace_luna
|
||||
scale 5
|
||||
vehicle yes
|
||||
collider mesh
|
||||
|
|
Loading…
Reference in a new issue