3d Slope Maths

Blitz3D Forums/Blitz3D Programming/3d Slope Maths

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.

Can we just broaden this discussion, as I've spent all day tearing my hair out over this.
a) I implemented Mark's 'Driver' demo code, but with over 50 cars it slowed down to 1 fps or less, so scratch that.
b) Each of my cars has a main pivot (with body, camera, sounds connected etc), then I added a front and back pivot to the main pivot. I wanted to linepick down (to a 'road' mesh) from each to calculate the necessary 'slope' angle, but found that linepicking down returned integers, which were no use.
Are you all saying that such pivots should (not follow a master but) align to the terrain/mesh, then calculate the angle?