[Help] PLSM2 normals!!? [Solved]

Dibalo

17-12-2006 18:03:16

Hi all. I´m new in OgreNewton. I´m using OgreNewton with Paging Landscape Manager. Now I have a VERY STANGE problem. I´m loading my map data to Newton world using this method (upper) http://www.ogre3d.org/wiki/index.php/Us ... ith_Newton . So, if I press F3, I can see debugging lines and they look like correct. When I throw object to my world, they fly normally and physics works well.

The problem is, when they are supposed to collide with ground. They fall through it. Well... I have spent all day searching answers and tried different kind of methods. Now I have understood what is the problems: It seems that my ground´s normals are pointing wrong direction!!!! :shock: When I go and throw objects from above ground into the ground, collision is working well!! Also collision between objects is working well... :?

I´m totally confused.. What should I do???
Thanks!

rschlend

17-12-2006 22:07:29

Hi--

I had a similar problem and made a change as shown in the link below .

Look at step 8.

http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=2554&sid=f842f6465aa6864438318dea3f5f343c

It has to do with the order which the verticies are specified.

Hope this helps!

rschlend

Dibalo

18-12-2006 17:13:31

Ahhhh!! Perfect! Thank you million times! :D
I scared that I have to give up with this wonderful physics engine! Now it works perfect and I can keep going!

Thank you! :!: