mirror of
https://github.com/PfandBoss/SemesterGameJam2022.git
synced 2025-11-12 04:16:12 +01:00
FIX
This commit is contained in:
@@ -29,5 +29,6 @@ transform = Transform3D(1, 0, 3.55271e-15, 0, 1, 0, -3.55271e-15, 0, 1, 9.90113,
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(0.875944, -0.294781, 0.381872, -0.0210188, 0.767515, 0.640687, -0.481955, -0.569232, 0.666104, 0, 8.25958, 0)
|
||||
visible = false
|
||||
|
||||
[node name="Control" parent="." instance=ExtResource("4_kxuy0")]
|
||||
|
||||
@@ -97,8 +97,8 @@ func mapSimulation(delta):
|
||||
var distance_delta = p2_train.current_distance - p2_node.LENGTH
|
||||
p2_node = p2_node._on_train_exit(p2_train)
|
||||
p2_train.current_distance = distance_delta
|
||||
$Control/VSlider.value = p2_train.distance_from_startgit
|
||||
$Control/VSlider2.value = p1_train.distance_from_start
|
||||
$Control/VSlider.value = p1_train.distance_from_start
|
||||
$Control/VSlider2.value = p2_train.distance_from_start
|
||||
|
||||
func fightSimulation():
|
||||
#FIGHT SIMULATION
|
||||
|
||||
Reference in New Issue
Block a user