The crag: a 26 m box-rock cliff with a graded climbing route
North of the playground, facing spawn: bouldering blocks, a ladder to an 8 m rest ledge, a jug wall, a 0.4 m traverse ledge, an overhang with monkey bars and a lip bar onto a 16 m rest ledge, a chimney to the 26 m summit with throwable props. A 'Crag' teleport marker at the base is the way down; teleports now land the floor on the marker's height. Floor widened to 80 m. Regression: scenes/crag_spike.tscn (reach, free space, overlaps, height, line of sight). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
84df772f38
commit
ca9a299fe8
9 files changed
+554
-8
No files matched your search
@@ -14,19 +14,25 @@ public partial class PlaygroundShots : Node3D
|
||||
(new Vector3(3f, 4f, 3f), new Vector3(9f, 1f, -4f)),
|
||||
(new Vector3(-2f, 3.5f, 4f), new Vector3(-7f, 1f, -1f)),
|
||||
(new Vector3(0f, 2.5f, 11f), new Vector3(1f, 0.6f, 7f)),
|
||||
// The crag: from spawn eye height, from the side, the route up close, looking down from the summit.
|
||||
(new Vector3(0f, 1.7f, 2.5f), new Vector3(-1f, 9f, -14f)),
|
||||
(new Vector3(22f, 14f, 4f), new Vector3(0f, 12f, -16f)),
|
||||
(new Vector3(-1f, 12f, -6f), new Vector3(-1f, 12f, -15f)),
|
||||
(new Vector3(-0.8f, 27.7f, -16.4f), new Vector3(1.5f, 0f, -6f)),
|
||||
};
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
foreach (string a in OS.GetCmdlineUserArgs())
|
||||
_dir = a;
|
||||
AddChild(new DirectionalLight3D { RotationDegrees = new Vector3(-50f, -30f, 0f), ShadowEnabled = true });
|
||||
AddChild(new DirectionalLight3D { DirectionalShadowMaxDistance = 60f, RotationDegrees = new Vector3(-50f, -30f, 0f), ShadowEnabled = true });
|
||||
AddChild(new WorldEnvironment { Environment = new Environment { BackgroundMode = Environment.BGMode.Color, BackgroundColor = new Color(0.55f, 0.65f, 0.8f), AmbientLightSource = Environment.AmbientSource.Color, AmbientLightColor = new Color(0.5f, 0.5f, 0.55f) } });
|
||||
StaticBody3D floor = new();
|
||||
floor.AddChild(new CollisionShape3D { Shape = new BoxShape3D { Size = new Vector3(40, 0.1f, 40) }, Position = new Vector3(0, -0.05f, 0) });
|
||||
floor.AddChild(new MeshInstance3D { Mesh = new PlaneMesh { Size = new Vector2(40, 40) } });
|
||||
floor.AddChild(new CollisionShape3D { Shape = new BoxShape3D { Size = new Vector3(80, 0.1f, 80) }, Position = new Vector3(0, -0.05f, 0) });
|
||||
floor.AddChild(new MeshInstance3D { Mesh = new PlaneMesh { Size = new Vector2(80, 80) } });
|
||||
AddChild(floor);
|
||||
AddChild(new Playground());
|
||||
AddChild(new Crag());
|
||||
_cam = new Camera3D { Current = true };
|
||||
AddChild(_cam);
|
||||
SetView();
|
||||
|
||||
Reference in new issue
Block a user