rocket pull radius of collision shape for blast radius
This commit is contained in:
@@ -64,7 +64,7 @@ height = 1.21279
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_vdo7n"]
|
||||
radius = 10.0
|
||||
|
||||
[node name="Rocket" type="RigidBody3D" node_paths=PackedStringArray("blast_radius")]
|
||||
[node name="Rocket" type="RigidBody3D" node_paths=PackedStringArray("blast_radius_area", "radius_shape")]
|
||||
collision_layer = 6
|
||||
collision_mask = 7
|
||||
continuous_cd = true
|
||||
@@ -72,7 +72,8 @@ max_contacts_reported = 100
|
||||
contact_monitor = true
|
||||
script = ExtResource("1_s0phn")
|
||||
explosion = ExtResource("2_mbh48")
|
||||
blast_radius = NodePath("BlastRadius")
|
||||
blast_radius_area = NodePath("BlastRadius")
|
||||
radius_shape = NodePath("BlastRadius/radiusShape")
|
||||
blast_radius_falloff = SubResource("CurveTexture_0mibw")
|
||||
|
||||
[node name="Rocket" type="MeshInstance3D" parent="."]
|
||||
|
||||
Reference in New Issue
Block a user