Hi, i want to create a chess. So for example i have a tower, now for the shape i do:
BtOgre::StaticMeshToShapeConverter convProva(entityTower);
btCollisionShape* shTower=convProva.createConvex();
shTower->setLocalScaling(BtOgre::Convert::toBullet(nodeTower->getScale()));
well, it's work...but slow my scene o.O....my chess have too vertix...another idea?
tips Mesh to shape
-
- Posts: 8
- Joined: Fri Apr 15, 2011 9:18 am
Re: tips Mesh to shape
So...i found a topic about http://codesuppository.blogspot.com/201 ... onvex.html!
But this library can work with ogre+bullet?
I have this mesh:

and this is the result with
BtOgre::StaticMeshToShapeConverter convProva(entity);
btCollisionShape* shProva=convProva.createConvex();
shProva->setLocalScaling(BtOgre::Convert::toBullet(nProva->getScale()));
btRigidBody* rbProva=this->createRigidBody(0.1,nProva,tr,shProva);
where entity is my mesh....

bad result....too collision line...low fps...someone helps?
sorry for my english!
But this library can work with ogre+bullet?
I have this mesh:

and this is the result with
BtOgre::StaticMeshToShapeConverter convProva(entity);
btCollisionShape* shProva=convProva.createConvex();
shProva->setLocalScaling(BtOgre::Convert::toBullet(nProva->getScale()));
btRigidBody* rbProva=this->createRigidBody(0.1,nProva,tr,shProva);
where entity is my mesh....

bad result....too collision line...low fps...someone helps?
sorry for my english!
