|
[gd_scene load_steps=11 format=2] |
|
|
|
[ext_resource path="res://Player.gd" type="Script" id=1] |
|
[ext_resource path="res://Robot.tscn" type="PackedScene" id=2] |
|
[ext_resource path="res://addons/godot_rl_agents/sensors/sensors_3d/RaycastSensor3D.gd" type="Script" id=3] |
|
|
|
[sub_resource type="CapsuleShape3D" id=1] |
|
|
|
[sub_resource type="CapsuleMesh" id=2] |
|
|
|
[sub_resource type="StandardMaterial3D" id=3] |
|
albedo_color = Color( 0.109804, 0.317647, 0.458824, 1 ) |
|
|
|
[sub_resource type="Sky" id=4] |
|
sky_top_color = Color( 0.458824, 0.498039, 0.513726, 1 ) |
|
sky_horizon_color = Color( 0.719818, 0.767557, 0.804688, 1 ) |
|
ground_bottom_color = Color( 0.0980392, 0.133333, 0.168627, 1 ) |
|
|
|
[sub_resource type="Environment" id=5] |
|
background_mode = 2 |
|
background_sky = SubResource( 4 ) |
|
background_sky_custom_fov = 1.1 |
|
ambient_light_color = Color( 1, 1, 1, 1 ) |
|
ambient_light_energy = 0.79 |
|
ambient_light_sky_contribution = 0.83 |
|
tonemap_mode = 3 |
|
glow_intensity = 0.65 |
|
|
|
[sub_resource type="PlaneMesh" id=6] |
|
size = Vector2( 50, 50 ) |
|
|
|
[sub_resource type="StandardMaterial3D" id=7] |
|
albedo_color = Color( 0.737255, 0.780392, 0.776471, 1 ) |
|
|
|
[node name="Agent" type="CharacterBody3D" groups=["AGENT"]] |
|
transform = Transform3D( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.54613, 0 ) |
|
script = ExtResource( 1 ) |
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."] |
|
transform = Transform3D( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0 ) |
|
visible = false |
|
shape = SubResource( 1 ) |
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."] |
|
transform = Transform3D( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0 ) |
|
visible = false |
|
mesh = SubResource( 2 ) |
|
material/0 = SubResource( 3 ) |
|
|
|
[node name="Camera3D" type="Camera3D" parent="."] |
|
transform = Transform3D( 1, -1.54268e-08, 5.75736e-08, -1.54268e-08, 0.866025, 0.5, -5.75736e-08, -0.5, 0.866025, 0, 10, 13 ) |
|
visible = false |
|
environment = SubResource( 5 ) |
|
|
|
[node name="Robot" parent="." instance=ExtResource( 2 )] |
|
transform = Transform3D( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, -1.43952, 0.0576344 ) |
|
|
|
[node name="Bullet" parent="Robot/Armature" index="1"] |
|
visible = false |
|
|
|
[node name="Ground" type="MeshInstance3D" parent="."] |
|
transform = Transform3D( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.51805, 0 ) |
|
mesh = SubResource( 6 ) |
|
material/0 = SubResource( 7 ) |
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] |
|
transform = Transform3D( 0.997957, -0.0409561, 0.0490333, -0.00590691, 0.705052, 0.709131, -0.0636142, -0.707972, 0.70337, 0.570396, 11.444, 5.53289 ) |
|
shadow_enabled = true |
|
directional_shadow_blend_splits = true |
|
|
|
[node name="RayCastSensor3D" type="Node3D" parent="."] |
|
transform = Transform3D( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.40147, 0 ) |
|
script = ExtResource( 3 ) |
|
n_rays_width = 12.0 |
|
n_rays_height = 12.0 |
|
ray_length = 15.0 |
|
cone_width = 50.0 |
|
cone_height = 30.0 |
|
|
|
[editable path="Robot"] |
|
|