Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | perded |
if Input.is_action_just_pressed("1"):
var new = smoke.instantiate()
get_tree().root.get_child(0).add_child(new)
new.position = $body/camera/hand.global_position
new.force(velocity*200)
e