Problem with rotate to position

paulitsmepaulitsme Member Posts: 109
edited November -1 in Working with GS (Mac)
Hi,
I am trying to get an actor to rotate to face the mouse position. The actor is a gun and spawns bullets on a mouse click. It works for about 2-3 seconds and then the gun spins round and faces away from the mouse. The gun is not set to collide with anything.

Is this a bug or am I doing something wrong ?

Comments

  • paulitsmepaulitsme Member Posts: 109
    It's ok I fixed it. It was just because the gun was moving on a scrolling game so I added the gun position to the rotate to position value.
Sign In or Register to comment.