12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- [gd_scene load_steps=3 format=3 uid="uid://c4j0mypomkaet"]
- [ext_resource type="Script" path="res://components/RC_Holder.gd" id="1_k5e4m"]
- [sub_resource type="CylinderMesh" id="CylinderMesh_137p2"]
- top_radius = 0.02
- bottom_radius = 0.3
- height = 1.0
- radial_segments = 16
- rings = 2
- [node name="RC_Holder" type="Marker3D"]
- script = ExtResource("1_k5e4m")
- [node name="RayCastFront" type="RayCast3D" parent="."]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.98)
- target_position = Vector3(0, 0, 0.25)
- collision_mask = 7
- collide_with_areas = true
- [node name="RayCastDownRamp" type="RayCast3D" parent="."]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.98)
- target_position = Vector3(0, -0.9, 1.1)
- collision_mask = 7
- collide_with_areas = true
- [node name="RayCastFrontPull" type="RayCast3D" parent="."]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.98)
- target_position = Vector3(0, 0, 0.25)
- collision_mask = 144
- hit_from_inside = true
- collide_with_areas = true
- [node name="RayCastBack" type="RayCast3D" parent="."]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.98)
- target_position = Vector3(0, 0, -0.3)
- collision_mask = 7
- collide_with_areas = true
- [node name="RayCastGround" type="RayCast3D" parent="."]
- target_position = Vector3(0, -1.1, 0)
- collision_mask = 7
- [node name="RayCastTop" type="RayCast3D" parent="."]
- target_position = Vector3(0, 1.1, 0)
- collision_mask = 39
- [node name="frontdebug" type="MeshInstance3D" parent="."]
- transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.021429, 1.10202)
- visible = false
- mesh = SubResource("CylinderMesh_137p2")
|