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

Advanced game related topics
User avatar
Rings
Moderator
Moderator
Posts: 1435
Joined: Sat Apr 26, 2003 1:11 am

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

Post 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 ?
SPAMINATOR NR.1
DarkDragon
Addict
Addict
Posts: 2348
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

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

Post 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.
bye,
Daniel
User avatar
Rings
Moderator
Moderator
Posts: 1435
Joined: Sat Apr 26, 2003 1:11 am

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

Post 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
SPAMINATOR NR.1
Post Reply