When I instance an enemy scene in a level scene it's not in the expected place

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Socrates

I know I’m just doing something wrong, but whenever I instance an enemy scene (which right now is just a KinematicBody2D with a Sprite, no script or anything), it appears at the scene’s origin instead of where I placed it in the scene. What could I be doing to cause this? (I’ve instanced plenty of other scenes and never had this problem before)

Solved: I must’ve accidentally selected the KinematicBody2D when making a reference animation for the enemy at rest. It was set to autoload, so it placed the sprite at the origin.

Socrates | 2018-04-21 16:24