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?
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?