experiments

This commit is contained in:
Taevas 2025-02-21 21:47:35 +01:00
parent 4aba8bf0ae
commit 25664e36f5
23 changed files with 346 additions and 17 deletions

20
elements/platform.tscn Normal file
View file

@ -0,0 +1,20 @@
[gd_scene load_steps=3 format=3 uid="uid://gis4s061n422"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_llioc"]
[sub_resource type="BoxShape3D" id="BoxShape3D_hgmxv"]
[node name="Platform" type="RigidBody3D"]
axis_lock_linear_x = true
axis_lock_linear_y = true
axis_lock_linear_z = true
axis_lock_angular_x = true
axis_lock_angular_y = true
axis_lock_angular_z = true
physics_material_override = SubResource("PhysicsMaterial_llioc")
gravity_scale = 0.0
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("BoxShape3D_hgmxv")
[node name="CSGBox3D" type="CSGBox3D" parent="."]

4
elements/platform2.tscn Normal file
View file

@ -0,0 +1,4 @@
[gd_scene format=3 uid="uid://b13nd5ibr7xvn"]
[node name="Platform2" type="CSGBox3D"]
use_collision = true

8
elements/platform3.tscn Normal file
View file

@ -0,0 +1,8 @@
[gd_scene load_steps=2 format=3 uid="uid://bgtoke5v8cbwu"]
[sub_resource type="BoxShape3D" id="BoxShape3D_gkjw1"]
[node name="Platform3" type="RigidBody3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("BoxShape3D_gkjw1")

17
elements/sphere.tscn Normal file
View file

@ -0,0 +1,17 @@
[gd_scene load_steps=3 format=3 uid="uid://df5m716pd6mej"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_vumbr"]
bounce = 0.8
[sub_resource type="SphereShape3D" id="SphereShape3D_xfgrm"]
[node name="Sphere" type="RigidBody3D"]
axis_lock_linear_z = true
physics_material_override = SubResource("PhysicsMaterial_vumbr")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_xfgrm")
[node name="CSGSphere3D" type="CSGSphere3D" parent="."]
radial_segments = 20
rings = 10