xrjamfeb2025/scenes/climbing_gliding_demo/objects/cliff.tscn

25 lines
1.1 KiB
Text

[gd_scene load_steps=5 format=3 uid="uid://bt8kw5a34upwm"]
[ext_resource type="PackedScene" uid="uid://cjyilbm4ucc7s" path="res://addons/godot-xr-tools/objects/climbable.tscn" id="1"]
[ext_resource type="Material" path="res://assets/wahooney.itch.io/brown_grid_triplanar.tres" id="2"]
[sub_resource type="ConvexPolygonShape3D" id="2"]
points = PackedVector3Array(0, -10, 10, -8.66025, -10, 4.99804, 8.66025, -10, 5, 0, 10, 7.99922, -6.92922, 10, 3.99961, -8.66025, -10, -5, 8.65856, -10, -5.00196, 6.92753, 10, -4.00157, 6.92753, 10, 3.99961, -6.92922, 10, -4.00157, 0, -10, -10, 0, 10, -8.00117)
[sub_resource type="CylinderMesh" id="1"]
top_radius = 8.0
bottom_radius = 10.0
height = 20.0
radial_segments = 6
rings = 0
[node name="Cliff" instance=ExtResource("1")]
[node name="CollisionShape3D" parent="." index="0"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 10, 0)
shape = SubResource("2")
[node name="MeshInstance3D" type="MeshInstance3D" parent="." index="1"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 10, 0)
mesh = SubResource("1")
surface_material_override/0 = ExtResource("2")