26 lines
636 B
Text
26 lines
636 B
Text
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://functional/Robot.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="CylinderMesh" id=1]
|
|
top_radius = 0.4
|
|
bottom_radius = 0.4
|
|
height = 0.2
|
|
|
|
[sub_resource type="SpatialMaterial" id=2]
|
|
albedo_color = Color( 0.741176, 0.639216, 0.368627, 1 )
|
|
|
|
[sub_resource type="CylinderShape" id=3]
|
|
radius = 0.4
|
|
height = 0.2
|
|
|
|
[node name="Robot" type="RigidBody"]
|
|
mass = 4.0
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="."]
|
|
mesh = SubResource( 1 )
|
|
material/0 = SubResource( 2 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
|
shape = SubResource( 3 )
|