How to add btGhostObject into Ogrebullet?

yys

07-07-2011 02:28:57

hi all,
I need to control a probe in my game, move it and get the contacts of it with other objects.
So i'm going to implement the probe as a btGhostObject type. But I find OgreBullet doesn't has wrap btGhostObject at all.

Is there any other way to achieve my goal?
Thank you.

yaoyansi

captaincrunch80

17-07-2011 08:22:40

Yes!

you can do that all time with every aspect of Bullet just use the various getBullet....() Functions that most OgreBullet Objects have. So you work on with the original objects to set Flags, submit native bullet rigid-bodies to the original bullet world and so on.