- Home /
Question by
pn140163 · Jun 15, 2016 at 06:16 AM ·
addforcemovement scriptknockback
(2D, C#) Knockback in opposite direction of mouse.
I'm currently attempting to make a simple platform game where you use knockback to move around. However, I'm having trouble getting the knockback to work.
What I'm trying to do is to have the player move in the opposite direction of where the mouse is pointing. Any help ASAP would be appreciated.
Please keep it in C#, and as simple as possible. Notes attached to code would also be very useful.
Thanks <3
Comment