Page 1 of 1

Any real PureBasic-Ogre-Physics example out there ? [Solved]

Posted: Sun Feb 21, 2010 8:10 pm
by Rings
as i got some free time,
i'm playing extremly with ogre/Purebasic.
i found a lot and undertand now the fundamentals.
I can put some simple Cubemeshes in the 3-world
and rotate them.
Later i set the Physics for them (the Entitys) .
Then they fallen down.Below my ground.
But how to use the physics to make them realy bumping ?

so, anyone can point me in the right direction ?

Re: Any real PureBasic-Ogre-Physics example out there ?

Posted: Sun Feb 21, 2010 8:16 pm
by DarkDragon
Hello,

Have you seen the Shooter.pb example from here: http://www.purebasic.com/Ogre1.6.zip ? It shows cubes falling down to the ground, so it should solve your problem about the "falling through the ground". The ground should be a static body.

Re: Any real PureBasic-Ogre-Physics example out there ? [Solved]

Posted: Sun Feb 21, 2010 8:39 pm
by Rings
DarkDragon wrote:Hello,

Have you seen the Shooter.pb example from here: http://www.purebasic.com/Ogre1.6.zip ? It shows cubes falling down to the ground, so it should solve your problem about the "falling through the ground". The ground should be a static body.
that was it, set the ground to a static body.
should be mentioned in the Physics-docs