Collide in all direction

Game Editor comments and discussion.

Collide in all direction

Postby Clokio » Tue May 24, 2011 10:07 pm

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
Clokio
 
Posts: 229
Joined: Tue May 17, 2011 2:18 pm
Score: 32 Give a positive score

Re: Collide in all direction

Postby savvy » Sat May 28, 2011 11:49 am

use physical response, its a function made for colliding :D
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.

savvy
--> For my help, i ask for a simple +1 if it helps! ^-^
--> I dont code, I type art which you dont understand.
--> I keep winning the 3D model challenge at college, teacher says: "you keep winning im not giving you prizes".
User avatar
savvy
 
Posts: 494
Joined: Wed Jun 03, 2009 11:55 am
Location: England
Score: 44 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest