|
@@ -8,13 +8,13 @@
|
|
|
|
|
|
[sub_resource type="BoxShape" id=1]
|
|
|
|
|
|
-[sub_resource type="SphereShape" id=5]
|
|
|
+[sub_resource type="SphereShape" id=2]
|
|
|
|
|
|
-[sub_resource type="CapsuleShape" id=2]
|
|
|
+[sub_resource type="CapsuleShape" id=3]
|
|
|
|
|
|
-[sub_resource type="CylinderShape" id=3]
|
|
|
+[sub_resource type="CylinderShape" id=4]
|
|
|
|
|
|
-[sub_resource type="ConvexPolygonShape" id=4]
|
|
|
+[sub_resource type="ConvexPolygonShape" id=5]
|
|
|
points = PoolVector3Array( -0.7, 0, -0.7, -0.3, 0, 0.8, 0.8, 0, -0.3, 0, -1, 0 )
|
|
|
|
|
|
[node name="Test" type="Spatial"]
|
|
@@ -23,6 +23,7 @@ script = ExtResource( 2 )
|
|
|
[node name="Options" parent="." instance=ExtResource( 5 )]
|
|
|
|
|
|
[node name="Controls" type="VBoxContainer" parent="."]
|
|
|
+pause_mode = 2
|
|
|
anchor_right = 1.0
|
|
|
anchor_bottom = 1.0
|
|
|
margin_left = 25.0
|
|
@@ -128,14 +129,14 @@ mode = 3
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="Shapes/RigidBodySphere"]
|
|
|
transform = Transform( 1.2, 0, 0, 0, 1.2, 0, 0, 0, 1.2, 0, 0, 0 )
|
|
|
-shape = SubResource( 5 )
|
|
|
+shape = SubResource( 2 )
|
|
|
|
|
|
[node name="RigidBodyCapsule" type="RigidBody" parent="Shapes"]
|
|
|
mode = 3
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="Shapes/RigidBodyCapsule"]
|
|
|
transform = Transform( 0.8, 0, 0, 0, -1.30337e-07, -0.8, 0, 0.8, -1.30337e-07, 0, 0, 0 )
|
|
|
-shape = SubResource( 2 )
|
|
|
+shape = SubResource( 3 )
|
|
|
|
|
|
[node name="RigidBodyCylinder" type="RigidBody" parent="Shapes"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 0 )
|
|
@@ -144,7 +145,7 @@ script = ExtResource( 3 )
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="Shapes/RigidBodyCylinder"]
|
|
|
transform = Transform( 0.772741, -0.258819, 2.59821e-08, 0.2, 0.933013, -0.207055, 0.0535898, 0.25, 0.772741, 0, 0, 0 )
|
|
|
-shape = SubResource( 3 )
|
|
|
+shape = SubResource( 4 )
|
|
|
|
|
|
[node name="RigidBodyConvexPolygon" type="RigidBody" parent="Shapes"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 6, -0.211, 0 )
|
|
@@ -152,7 +153,7 @@ mode = 3
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="Shapes/RigidBodyConvexPolygon"]
|
|
|
transform = Transform( 2, 0, 0, 0, 2.89766, -0.517939, 0, 0.776908, 1.93177, 0, 0.3533, 0 )
|
|
|
-shape = SubResource( 4 )
|
|
|
+shape = SubResource( 5 )
|
|
|
|
|
|
[node name="RigidBodyConcavePolygon" type="StaticBody" parent="Shapes"]
|
|
|
transform = Transform( 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, -6, 3.93357 )
|