finished physics gun
This commit is contained in:
@@ -1,10 +1,18 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://ced2w03t8er5k"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://ced2w03t8er5k"]
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_b2i4c"]
|
||||
rough = true
|
||||
absorbent = true
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_flqji"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_evnha"]
|
||||
|
||||
[node name="Cube" type="RigidBody3D" groups=["pushables"]]
|
||||
mass = 1.5
|
||||
physics_material_override = SubResource("PhysicsMaterial_b2i4c")
|
||||
lock_rotation = true
|
||||
continuous_cd = true
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("BoxShape3D_flqji")
|
||||
|
Reference in New Issue
Block a user