Spawn actor to mouse position on an endless runner

FireCrocFireCroc Member, PRO Posts: 16


I am trying to spawn an actor to the mouse position on an endless runner where the screen is touched. When the screen starts scrolling and the screen is touched the actor does not spawn by the mouse position. Looks like the spawn is somehow offset

I used

On mouse click spawn the actor as follows:
POSITION: game.Mouse.Position.X
POSITION: game.Mouse.Position.Y

Please help


Sign In or Register to comment.