I have an object that I am trying to move along the x position relative to the player's x position.
var laserPosition = Vector2()
laserPosition.x = playerPosition.x
The object disappears only when the movelocalx is in the code. Commenting it out makes the object reappear.
Any ideas why that is?