Collision detection with "hill" mesh model

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
matrix
Posts: 3
Joined: Fri Jul 20, 2012 9:58 am

Collision detection with "hill" mesh model

Post by matrix »

Hello,

i have created a mesh with hills in "Sculptris".

First of all I dont want to use a TerrainSceneNode or
as HillMeshPlane and no third party physic library.
I choose modeling to have full controll over the
appearance of the terrain.

I use the automatic collision with TriangleSelectors.
It works on flat floors like in buildings.

But on my hills have the problem that the height
of the mesh changes, the collision works and I
"stuck" in the terrain.
I must jump every time I stuck.

I there a easy method to solve the problem?

Regards

Andy
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: Collision detection with "hill" mesh model

Post by hybrid »

Do you change the mesh after creating the triangle selector? IN that case you have to recreate the selector IIRC, or use one of the SVN version sof Irrlicht where this bug is fixed.
Post Reply