Hey all,
Im having an issue with the bullet behaviour. It is spawning correctly and it IS moving towards the mouse co-ordinates but its not accurate... at all. It moves in the general direction of the mouse co-ordinates, but not EXACTLY towards the mouse co-ordinates (which is the desired effect). Instead the bullet is always 50-100 pixels above or below the cursor, depending on its placement on the screen. See the screenshot below:
[attachment=2:wmi7j8gg][/attachment:wmi7j8gg]
Am i doing something wrong or is "the general mouse direction" the only way it can move? The following screenshots are of when the bullet being created and the its off-course trajectory:
[attachment=1:wmi7j8gg][/attachment:wmi7j8gg]
[attachment=0:wmi7j8gg][/attachment:wmi7j8gg]
As you can see, its moving in the general direction of the cursor but nowhere near the actual co-ordinates.
Any help would be hugely appreciated, as always
Many thanks all,
moymoymoy