Heightmap Problems?

Started by
13 comments, last by Phil_93 11 years ago

Ok, good news and bad news.

Good news is, I finally got it to work! my car is adjusting it's height according to the heightmap.

Bad news is, I'm now underneath my heightmap for some reason.

Advertisement

Ok, good news and bad news.

Good news is, I finally got it to work! my car is adjusting it's height according to the heightmap.

Bad news is, I'm now underneath my heightmap for some reason.

Always by the same amount? Don't you need to add the car size? Is you car scaled maybe?

Currently working on a scene editor for ORX (http://orx-project.org), using kivy (http://kivy.org).

Hey sorry I went quiet yesterday, I needed a break. Looking at it today I have actually changed the scale of the car in the properties.

I'm guessing I need to multiply or add the scale of the car to the line that changes it's Y position on the heightmap?

Actually scratch that I've changed the camera around so I can look around and I'm actually way above my heightmap, it looks tiny from where I actually am.

Ok great news! My car is finally sticking to the ground as it should! The frame rate is dropping a little when the car moves forward but I'm sure I can fix that somehow, it is only a minor problem after all.

Just want to say thanks to everyone that helped me out on this otherwise I'd have never got it done.

Thanks everyone!

Phil_93 :D

This topic is closed to new replies.

Advertisement