Physics of 2d object collisions using f=ma???

Blitz3D Forums/Blitz3D Beginners Area/Physics of 2d object collisions using f=ma???

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Ralphy,

debris\vx = -(debris\vx - vcmy) + vcmy

is just the same as

debris\vx = -debris\vx

Obviously, I haven't seen all your code here but all you seem to be acheiving is making the debris and the object bounce off each other with the reverse of their current velocity. The Mass of the debris or other should make no difference?

If it seems to work for you .....