Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / As little code as possibal with the normall db Collision makeing solid objects act solid please help

Author
Message
Dragon Tiger Wolf Bald Eagle
16
Years of Service
User Offline
Joined: 5th Feb 2008
Location:
Posted: 6th Feb 2008 18:47
I have Two Spheres Sphere 1 is red it is the sphere I want to stand still and not move the seconed sphere wich is white I move with the arrow keys. What I want is with the least amount of code to creat it so when I move the white sphere and it just touches the red sphere that the white sphere wont go through the shpere it instead will sit still like a man pushing agaist a stone building. I want it to work from all sides of the spheres. I have tryde the different collision with if statements but it never worked right Please help COde snippet down below





The quality of what a man gives without seeking anything in return shows his integrity.
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 8th Feb 2008 01:01

Login to post a reply

Server time is: 2024-09-29 11:33:38
Your offset time is: 2024-09-29 11:33:38