blob: 5c5097fa16830f114e6eba9ac4b04fabb59dabad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
extends RigidBody
export var material : Material = null
func _ready():
if material != null:
$MeshInstance.set("material/0", material)
func _on_Bullet_body_entered(_body):
queue_free()
|