|
@@ -1,7 +1,7 @@
|
|
|
[gd_scene load_steps=10 format=2]
|
|
|
|
|
|
+[ext_resource path="res://utils/rigidbody_pick.gd" type="Script" id=1]
|
|
|
[ext_resource path="res://test.gd" type="Script" id=2]
|
|
|
-[ext_resource path="res://utils/exception_cylinder.gd" type="Script" id=3]
|
|
|
[ext_resource path="res://utils/camera_orbit.gd" type="Script" id=4]
|
|
|
[ext_resource path="res://tests/static_scene.tscn" type="PackedScene" id=6]
|
|
|
|
|
@@ -24,6 +24,7 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 9.35591, 0 )
|
|
|
|
|
|
[node name="RigidBodyBox" type="RigidBody" parent="DynamicShapes"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, 0 )
|
|
|
+script = ExtResource( 1 )
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="DynamicShapes/RigidBodyBox"]
|
|
|
transform = Transform( 0.579556, 0.0885213, 0.145926, 0, 0.939693, -0.205212, -0.155291, 0.330366, 0.544604, 0, 0, 0 )
|
|
@@ -31,13 +32,14 @@ shape = SubResource( 1 )
|
|
|
|
|
|
[node name="RigidBodyCapsule" type="RigidBody" parent="DynamicShapes"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 0 )
|
|
|
+script = ExtResource( 1 )
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="DynamicShapes/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 )
|
|
|
|
|
|
[node name="RigidBodyCylinder" type="RigidBody" parent="DynamicShapes"]
|
|
|
-script = ExtResource( 3 )
|
|
|
+script = ExtResource( 1 )
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="DynamicShapes/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 )
|
|
@@ -45,6 +47,7 @@ shape = SubResource( 3 )
|
|
|
|
|
|
[node name="RigidBodyConvex" type="RigidBody" parent="DynamicShapes"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 0 )
|
|
|
+script = ExtResource( 1 )
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="DynamicShapes/RigidBodyConvex"]
|
|
|
transform = Transform( 1.5, 0, 0, 0, 1.93185, -0.388229, 0, 0.517638, 1.44889, 0, 0, 0 )
|
|
@@ -52,6 +55,7 @@ shape = SubResource( 4 )
|
|
|
|
|
|
[node name="RigidBodySphere" type="RigidBody" parent="DynamicShapes"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 0 )
|
|
|
+script = ExtResource( 1 )
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="DynamicShapes/RigidBodySphere"]
|
|
|
transform = Transform( 0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0, 0 )
|