So,
If a bullet is a couple feet from a player, I want the player to get shoved out of the way, I figure ApplyForce?
I define the bullet with a bullet = firstthinginview(0x8 bullet)
And then something that detects if the current distance from the bullet is less than a certain amount(About to hit the player) and shoves the player out of the way using ApplyForce....
I'm hoping to implement this in Force_Heal somehow, make it togglable, and have it consume Force Mana. (If this is too hard than dont worry about it)
Any help would be great!
P.S. It would be nice to Have it apply force in the direction where there are no walls, so I dont get slammed against a wall.
[T0rN]
If a bullet is a couple feet from a player, I want the player to get shoved out of the way, I figure ApplyForce?
I define the bullet with a bullet = firstthinginview(0x8 bullet)
And then something that detects if the current distance from the bullet is less than a certain amount(About to hit the player) and shoves the player out of the way using ApplyForce....
I'm hoping to implement this in Force_Heal somehow, make it togglable, and have it consume Force Mana. (If this is too hard than dont worry about it)
Any help would be great!
P.S. It would be nice to Have it apply force in the direction where there are no walls, so I dont get slammed against a wall.
[T0rN]