making level
This commit is contained in:
parent
d2e2276d43
commit
4ab01fe0dc
15 changed files with 173 additions and 58 deletions
|
|
@ -1,8 +1,8 @@
|
|||
extends RigidBody3D
|
||||
|
||||
@export var initialMass:float = 3
|
||||
@export var yTorqueMult:float = 100
|
||||
@export var zTorqueMult:float = 100
|
||||
@export var initialMass:float = 5
|
||||
@export var yTorqueMult:float = 200
|
||||
@export var zTorqueMult:float = 200
|
||||
|
||||
var prev_mouse_position
|
||||
var next_mouse_position
|
||||
|
|
|
|||
|
|
@ -13,8 +13,6 @@ size = Vector3(1, 1.22449, 1.01085)
|
|||
[node name="Rotatable" type="RigidBody3D"]
|
||||
physics_material_override = SubResource("PhysicsMaterial_vn420")
|
||||
script = ExtResource("1_vn420")
|
||||
yTorqueMult = 30.0
|
||||
zTorqueMult = 30.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.66452, 0.0126419)
|
||||
|
|
|
|||
17
objects/rotatableLarge.tscn
Normal file
17
objects/rotatableLarge.tscn
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://tv34yqlttubv"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://du8lkrvnc16gl" path="res://objects/Rotatable.tscn" id="1_21koh"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_6b465"]
|
||||
size = Vector3(1.59271, 1, 32.4368)
|
||||
|
||||
[node name="Rotatable" instance=ExtResource("1_21koh")]
|
||||
initialMass = 50.0
|
||||
yTorqueMult = 20000.0
|
||||
|
||||
[node name="CollisionShape3D" parent="." index="0"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0103455, 0.66452, -0.032095)
|
||||
shape = SubResource("BoxShape3D_6b465")
|
||||
|
||||
[node name="MeshInstance3D" parent="." index="1"]
|
||||
transform = Transform3D(1.65606, 0, 0, 0, 1.1989, 0, 0, 0, 32.3694, 0, 0.676347, 0)
|
||||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue