Blitz3D's collision system

Blitz3D Forums/Blitz3D Programming/Blitz3D's collision system

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.

The blitz collision system is far from limited, use it properly and you can accomplish lifts, springs and moving platforms with ease, just don't think everything will work with 1 command, it's collision detection not magic! ;) Trying things like linepick is going in the right direction. Lemme give you one good hint on character positioning:

Say you have a human model walking around your world and you want him to step up to a small platform if he bumps into it from the side, then you just do a linepick with a radius about the size of his feet and start that linepick at the height of your models knees while ending it a few centimeters under your model, then you use that pick every frame to position your character on the surface that is underneath it (if there is any that is) if you run into a platform now and it's under kneeheight your character will step on to it.

That's my example for now, I'm sure you'll run into more complex problem, but thrust me they can be solved. ;)