Magnetic object SetPlayerVelocity?
#4

Okay so I didn't run your code yet but from what I can see you're missing some extra trigonometry to calculate the velocity vector from the player to the ball, weighted by the (cubic root?) distance in between. I didn't have time to compile your code yet, let alone work on it, but will help you as soon as I get some free time.
Reply


Messages In This Thread
Magnetic object SetPlayerVelocity? - by Crystallize - 22.08.2017, 14:53
Re: Magnetic object SetPlayerVelocity? - by TheCman - 22.08.2017, 21:23
Re: Magnetic object SetPlayerVelocity? - by Crystallize - 23.08.2017, 06:25
Re: Magnetic object SetPlayerVelocity? - by TheCman - 23.08.2017, 23:25
Re: Magnetic object SetPlayerVelocity? - by Paulice - 24.08.2017, 01:06

Forum Jump:


Users browsing this thread: 1 Guest(s)