Collision help :P

Blitz3D Forums/Blitz3D Programming/Collision help :P

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.

I'm totally new to this - bought Blitz3d just a few days ago.

I ran into this problem on the first day. I'd created a landscape, usin FLE, and was writing a program to move through it but my character/vehicle wouldn't stay on the ground when it reached the crest of a hill.

I figured that if the character/object wasn't colliding with anything else then it must be in mid-air so, when that was true, I moved it downwards until it collided with the ground.

I don't know if that's the best way to do it but it worked a treat. I'd be grateful for any advice on better methods.

How, for instance, do I alter the pitch, yaw and roll to give realistic effects when a vehicle is moving over the ground and how do I set up a camera to follow it?

Totally amazed at first results with Blitz3d and FLE and can't wait to learn more. Incidentally, I'm a 58-year-old newbie and I got into this with the intention of programming some amusements for my grandchildren. I had intended to populate a wee computer world with family members and things that they would recognise - favourite cartoon characters, etc. Now, after my first taste of B3D, I can't wait to learn more. I'm hooked!