Sign in to follow this  

Terrain Following

Recommended Posts

I have a very simple piece of terrain. it consists of a 3D plane with a ramp in the middle. i created the terrain in a modeler and exported it as a .obj. i then load the file into opengl and store all the information into an array and it displays fine. i can rotate it and move my simple square player around with no problems. my problems start when i want my player to move up the ramp. Is this a form of collision detection? I have no problem creating collision object that blocks the player from moving on the initial plane (assuming there is no jumping.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this