Code to collide with a moving object and move with it.

Blitz3D Forums/Blitz3D Programming/Code to collide with a moving object and move with it.

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.

Why in the world did you remove the # symbol from all the floating point numbers in the dofriction function? It may make the code a little easier to read but it will inevitably lead to bugs where you have failed to typecast a variable as float without realising it.