mirror of
https://github.com/Relintai/pandemonium_demo_projects.git
synced 2025-01-04 14:49:41 +01:00
186 lines
6.0 KiB
Plaintext
186 lines
6.0 KiB
Plaintext
[gd_scene load_steps=10 format=2]
|
|
|
|
[ext_resource path="res://test.gd" type="Script" id=1]
|
|
[ext_resource path="res://utils/control3d.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="PhysicsMaterial" id=1]
|
|
friction = 0.0
|
|
|
|
[sub_resource type="ConcavePolygonShape" id=2]
|
|
data = PoolVector3Array( -1, 0, 1, 1, 0, -1, 1, 0, 1, -1, 0, 1, -1, 0, -1, 1, 0, -1 )
|
|
|
|
[sub_resource type="PhysicsMaterial" id=3]
|
|
friction = 0.0
|
|
|
|
[sub_resource type="BoxShape" id=4]
|
|
|
|
[sub_resource type="PhysicsMaterial" id=5]
|
|
friction = 0.5
|
|
|
|
[sub_resource type="PhysicsMaterial" id=6]
|
|
|
|
[sub_resource type="PhysicsMaterial" id=7]
|
|
|
|
[node name="Test" type="Spatial"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="StaticBodyFriction0" type="StaticBody" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, -6, 8.581, 0 )
|
|
physics_material_override = SubResource( 1 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticBodyFriction0"]
|
|
transform = Transform( 5, 0, 0, 0, 1, 0, 0, 0, 50, 0, 0, 0 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="RigidBodies" type="Spatial" parent="StaticBodyFriction0"]
|
|
transform = Transform( 1, 0, 0, 0, 0.866026, 0.5, 0, -0.5, 0.866026, -3, -7.431, 4.291 )
|
|
|
|
[node name="RigidBodyFriction0" type="RigidBody" parent="StaticBodyFriction0/RigidBodies"]
|
|
transform = Transform( 1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 0, 10, 0 )
|
|
physics_material_override = SubResource( 3 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticBodyFriction0/RigidBodies/RigidBodyFriction0"]
|
|
shape = SubResource( 4 )
|
|
|
|
[node name="LabelFriction" type="Label" parent="StaticBodyFriction0/RigidBodies/RigidBodyFriction0"]
|
|
margin_right = 40.0
|
|
margin_bottom = 14.0
|
|
text = "0"
|
|
align = 1
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
world_offset = Vector3( 0, 1.5, 0 )
|
|
|
|
[node name="RigidBodyFriction05" type="RigidBody" parent="StaticBodyFriction0/RigidBodies"]
|
|
transform = Transform( 1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 3, 10, 0 )
|
|
physics_material_override = SubResource( 5 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticBodyFriction0/RigidBodies/RigidBodyFriction05"]
|
|
shape = SubResource( 4 )
|
|
|
|
[node name="LabelFriction" type="Label" parent="StaticBodyFriction0/RigidBodies/RigidBodyFriction05"]
|
|
margin_right = 40.0
|
|
margin_bottom = 14.0
|
|
text = "0.5"
|
|
align = 1
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
world_offset = Vector3( 0, 1.5, 0 )
|
|
|
|
[node name="RigidBodyFriction1" type="RigidBody" parent="StaticBodyFriction0/RigidBodies"]
|
|
transform = Transform( 1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 6, 10, 0 )
|
|
physics_material_override = SubResource( 6 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticBodyFriction0/RigidBodies/RigidBodyFriction1"]
|
|
shape = SubResource( 4 )
|
|
|
|
[node name="LabelFriction" type="Label" parent="StaticBodyFriction0/RigidBodies/RigidBodyFriction1"]
|
|
margin_right = 40.0
|
|
margin_bottom = 14.0
|
|
text = "1"
|
|
align = 1
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
world_offset = Vector3( 0, 1.5, 0 )
|
|
|
|
[node name="StaticBodyFriction1" type="StaticBody" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 6, 8.581, 0 )
|
|
physics_material_override = SubResource( 7 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticBodyFriction1"]
|
|
transform = Transform( 5, 0, 0, 0, 1, 0, 0, 0, 50, 0, 0, 0 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="RigidBodies" type="Spatial" parent="StaticBodyFriction1"]
|
|
transform = Transform( 1, 0, 0, 0, 0.866026, 0.5, 0, -0.5, 0.866026, -3, -7.431, 4.291 )
|
|
|
|
[node name="RigidBodyFriction0" type="RigidBody" parent="StaticBodyFriction1/RigidBodies"]
|
|
transform = Transform( 1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 0, 10, 0 )
|
|
physics_material_override = SubResource( 3 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticBodyFriction1/RigidBodies/RigidBodyFriction0"]
|
|
shape = SubResource( 4 )
|
|
|
|
[node name="LabelFriction" type="Label" parent="StaticBodyFriction1/RigidBodies/RigidBodyFriction0"]
|
|
margin_right = 40.0
|
|
margin_bottom = 14.0
|
|
text = "0"
|
|
align = 1
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
world_offset = Vector3( 0, 1.5, 0 )
|
|
|
|
[node name="RigidBodyFriction05" type="RigidBody" parent="StaticBodyFriction1/RigidBodies"]
|
|
transform = Transform( 1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 3, 10, 0 )
|
|
physics_material_override = SubResource( 5 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticBodyFriction1/RigidBodies/RigidBodyFriction05"]
|
|
shape = SubResource( 4 )
|
|
|
|
[node name="LabelFriction" type="Label" parent="StaticBodyFriction1/RigidBodies/RigidBodyFriction05"]
|
|
margin_right = 40.0
|
|
margin_bottom = 14.0
|
|
text = "0.5"
|
|
align = 1
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
world_offset = Vector3( 0, 1.5, 0 )
|
|
|
|
[node name="RigidBodyFriction1" type="RigidBody" parent="StaticBodyFriction1/RigidBodies"]
|
|
transform = Transform( 1, 0, 0, 0, 0.866025, -0.5, 0, 0.5, 0.866025, 6, 10, 0 )
|
|
physics_material_override = SubResource( 6 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticBodyFriction1/RigidBodies/RigidBodyFriction1"]
|
|
shape = SubResource( 4 )
|
|
|
|
[node name="LabelFriction" type="Label" parent="StaticBodyFriction1/RigidBodies/RigidBodyFriction1"]
|
|
margin_right = 40.0
|
|
margin_bottom = 14.0
|
|
text = "1"
|
|
align = 1
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
world_offset = Vector3( 0, 1.5, 0 )
|
|
|
|
[node name="Camera" type="Camera" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.53602, 22.1236 )
|
|
|
|
[node name="OmniLight" type="OmniLight" parent="Camera"]
|
|
omni_range = 50.0
|
|
|
|
[node name="LabelGround0" type="Label" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
margin_left = -164.0
|
|
margin_top = 80.0
|
|
margin_right = -28.0
|
|
margin_bottom = 94.0
|
|
text = "GROUND FRICTION 0"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="LabelGround1" type="Label" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
margin_left = 31.0
|
|
margin_top = 80.0
|
|
margin_right = 167.0
|
|
margin_bottom = 94.0
|
|
text = "GROUND FRICTION 1"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|