
02-28-2012, 10:14 PM
|
|
Delterian Hybrid
|
 |
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
|
|
Pushing players at an angle.
|
I'm trying to work on something where players who are in a certain vicinity to the player will be pushed away according to their distance and position to the player. I've managed to figure out a very simple method of doing so, but it's not as effective as I think it could be and only pushes in four directions according to my player's direction. The image attached will hopefully explain it better than I have, but if anybody could lend me a hand, I'll greatly appreciate it. |
|
|
|