Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Liemaeu |
I add my enemy with this in my game world:
var enemyscene = load("res://Enemy/Enemy.tscn")
var enemy = enemyscene.instance()
add_child(enemy)
He spawns in the middle of the world scene (at (0|0|0)). Is there a way so set the position?
enemy.position.x = 10, etc. doesn’t work for a 3D Kinematic Body.