I'm trying to use Ogre and Bullet together, but the drawing is wrong or the physics are wrong!
In example, I create a square 10x10 and create a collision shape 10x10 for that. Until here,
I guess that OK, but the square don't hit the ground on the window bottom.
Or hit, but the drawing are wrong.
I don't know where and how fix that. Someone can tell what I'm doing wrong?
Thanks in advance.
[SOLVED] (Ogre + Bullet) Ogre problem or Bullet problem?
- emersonmx
- Gnoblar
- Posts: 6
- Joined: Sat Dec 22, 2012 3:37 am
- Location: Parelhas - RN, Brazil
[SOLVED] (Ogre + Bullet) Ogre problem or Bullet problem?
- Attachments
-
- bt_ogre.zip
- Look SetupObjects for Scene and Bullet shape setup
- (15.04 KiB) Downloaded 14 times
Last edited by emersonmx on Sun Sep 08, 2013 2:46 am, edited 1 time in total.
- areay
- Bugbear
- Posts: 819
- Joined: Wed May 05, 2010 4:59 am
- Location: Auckland, NZ
- x 69
Re: [Ogre + Bullet] Ogre problem or Bullet problem?
Take a screenshot with the BtOgre debug drawer turned on showing your object and its physics shape. I assume that's what you're asking about.
- emersonmx
- Gnoblar
- Posts: 6
- Joined: Sat Dec 22, 2012 3:37 am
- Location: Parelhas - RN, Brazil
Re: [Ogre + Bullet] Ogre problem or Bullet problem?
A Debug Drawer... hmmm... I will see that. When finished, I'll post the code and a printscreen xD
- emersonmx
- Gnoblar
- Posts: 6
- Joined: Sat Dec 22, 2012 3:37 am
- Location: Parelhas - RN, Brazil
Re: [Ogre + Bullet] Ogre problem or Bullet problem?
Never would guess that without a DebugDrawer
http://www.ogre3d.org/tikiwiki/BulletDe ... letUtils.h
So to solve the problem is only break in the middle!
Thanks for the help!
- Attachments
-
- bt_ogre.zip
- (16.95 KiB) Downloaded 13 times