#How should I write a script for an object to spin around the player, through following the mouse?

1 messages · Page 1 of 1 (latest)

sage meteor
bleak shard
#

tried google?

sage meteor
bleak shard
#

maybe ask about that instead

upbeat otter
#

So you want the Brackey's 2D movement tutorial, but controlled with the mouse instead?

sage meteor
upbeat otter
#

The video isn't very informative.. what are you making? is it like a weapon that points from the player to the mouse?

sage meteor
#

yes

upbeat otter
#

ok that makes much more sense.
you could research "mouse position from screen to world space", this will help give you a direction from your player to your mouse