Vector math problem

BlitzMax Forums/BlitzMax Programming/Vector math problem

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.

Rather than manually capping the top speed you could have a drag force that gets applied to the tank. The drag force is applid in the oppositie direction to the tank velocity vector and is based on the speed of the tank. At top speed this drag force is equal to your acceleration force.

Then you dont have to worry about explosions / collisions / slopes. Just apply the total force at any moment in time and let the drag force do its thing.

Did that make sense ?