Spawn actor to mouse position on an endless runner

FireCrocFireCroc Member, PRO Posts: 60

Hi,

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:
SPAWN Actor
POSITION: game.Mouse.Position.X
POSITION: game.Mouse.Position.Y

Please help

Comments

Sign In or Register to comment.