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.

DarkBASIC Discussion / collisions dynamics.... :'(

Author
Message
Neoboby
21
Years of Service
User Offline
Joined: 9th Jul 2003
Location: France
Posted: 22nd Nov 2003 19:35
Hello with all.
I need help!!! I do not know how to make collisions dynamics! !
I would like to be able to make collisions where when a cube strikes another that a little further project this cube. How in GTA, when one enters in collision with another car, it is made expel a little further! And me I would like to be able to have the same effect!
But I really do not know how to do that.
Would know how I will be able to be made? Would have codes has itself to show me?

Thank you very much!
Very cordially,
Neoboby.

PS: Sorry for my English, I am French.... And I am not good in English !!! lol

guru of boredom
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: middle of no where
Posted: 23rd Nov 2003 00:08
not sure what you are asking for but it might involve vectors

we are not outnumbered! we are just in a target rich enviroment!
P4 2.4 ghz 120 GB 256 mb GeForce4
Night Giant
21
Years of Service
User Offline
Joined: 26th Jul 2003
Location:
Posted: 23rd Nov 2003 05:39
never tried it myself but perhaps some study of conservation of momentum principles and real-life collision physics might help. and yes, i'm pretty certain it'll involve vectors. this might help get you started:
http://www.physicsclassroom.com/Default2.html
look at the stuff about vectors and conservation of momentum. it's good stuff.
Neoboby
21
Years of Service
User Offline
Joined: 9th Jul 2003
Location: France
Posted: 23rd Nov 2003 16:01
thanks very much !


could somebody optimize me my code?
who could put good colision in my program to me? I need help!!! thank you very much

good bye

Login to post a reply

Server time is: 2025-05-21 16:53:14
Your offset time is: 2025-05-21 16:53:14