Example I have a top view game, and there is a rock in the way. So I need it to collide (repel the player) in all direction opposite.
Thanks
Re: Collide in all direction
Posted: Sat May 28, 2011 11:49 am
by savvy
use physical response, its a function made for colliding set the 3rd value to 0 instead of 1.0 and it will disallow response from the object, larger than 0 creates a bounce effect. 1.0 makes a bounce at an identical speed at which the object collided.