123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- [gd_scene load_steps=13 format=3 uid="uid://dgh5drb4q81kh"]
- [ext_resource type="Script" path="res://utils/camera_orbit.gd" id="1"]
- [ext_resource type="Script" path="res://tests/functional/test_moving_platform.gd" id="2"]
- [ext_resource type="PackedScene" uid="uid://b1ihqm3x8jru" path="res://tests/test_options.tscn" id="3"]
- [ext_resource type="Script" path="res://utils/characterbody_physics.gd" id="4"]
- [sub_resource type="CapsuleShape3D" id="1"]
- radius = 0.3
- [sub_resource type="BoxShape3D" id="2"]
- size = Vector3(0.6, 1.6, 0.6)
- [sub_resource type="CylinderShape3D" id="3"]
- radius = 0.3
- height = 1.60005
- [sub_resource type="SphereShape3D" id="4"]
- radius = 0.79945
- [sub_resource type="ConvexPolygonShape3D" id="5"]
- points = PackedVector3Array(-0.7, 0, -0.7, -0.3, 0, 0.8, 0.8, 0, -0.3, 0, -0.8, 0)
- [sub_resource type="PhysicsMaterial" id="7"]
- [sub_resource type="BoxShape3D" id="8"]
- size = Vector3(4, 0.4, 2)
- [sub_resource type="Animation" id="9"]
- length = 9.0
- [node name="Test2" type="Node3D"]
- script = ExtResource( "2" )
- [node name="LabelBodyType" type="Label" parent="."]
- offset_left = 14.0
- offset_top = 78.0
- offset_right = 171.0
- offset_bottom = 92.0
- text = "Body Type: "
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="Options" parent="." instance=ExtResource( "3" )]
- offset_top = 153.0
- offset_right = 134.0
- offset_bottom = 182.0
- [node name="Bodies" type="Node3D" parent="."]
- [node name="CharacterBody3D" type="CharacterBody3D" parent="Bodies"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7, -4.18538, 0)
- collision_layer = 2
- script = ExtResource( "4" )
- _stop_on_slopes = true
- use_snap = true
- [node name="Capsule" type="CollisionShape3D" parent="Bodies/CharacterBody3D"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
- shape = SubResource( "1" )
- [node name="Box" type="CollisionShape3D" parent="Bodies/CharacterBody3D"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
- shape = SubResource( "2" )
- [node name="Cylinder" type="CollisionShape3D" parent="Bodies/CharacterBody3D"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
- shape = SubResource( "3" )
- [node name="Sphere" type="CollisionShape3D" parent="Bodies/CharacterBody3D"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
- shape = SubResource( "4" )
- [node name="Convex" type="CollisionShape3D" parent="Bodies/CharacterBody3D"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
- shape = SubResource( "5" )
- [node name="RigidBody" type="RigidDynamicBody3D" parent="Bodies"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7, -4.18538, 0)
- collision_layer = 4
- axis_lock_angular_x = true
- axis_lock_angular_y = true
- axis_lock_angular_z = true
- physics_material_override = SubResource( "7" )
- [node name="Capsule" type="CollisionShape3D" parent="Bodies/RigidBody"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
- shape = SubResource( "1" )
- [node name="Box" type="CollisionShape3D" parent="Bodies/RigidBody"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
- shape = SubResource( "2" )
- [node name="Cylinder" type="CollisionShape3D" parent="Bodies/RigidBody"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
- shape = SubResource( "3" )
- [node name="Sphere" type="CollisionShape3D" parent="Bodies/RigidBody"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
- shape = SubResource( "4" )
- [node name="Convex" type="CollisionShape3D" parent="Bodies/RigidBody"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
- shape = SubResource( "5" )
- [node name="Platforms" type="Node3D" parent="."]
- [node name="MovingPlatform" type="AnimatableBody3D" parent="Platforms"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7, -4.235, 0)
- [node name="CollisionShape" type="CollisionShape3D" parent="Platforms/MovingPlatform"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.2, 0)
- shape = SubResource( "8" )
- [node name="AnimationPlayer" type="AnimationPlayer" parent="Platforms/MovingPlatform"]
- anims/Move = SubResource( "9" )
- [node name="Camera3D" type="Camera3D" parent="."]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 10)
- current = true
- script = ExtResource( "1" )
- [node name="OmniLight" type="OmniLight3D" parent="Camera3D"]
- omni_range = 50.0
|