CreateConcave()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
applePi
Addict
Addict
Posts: 1404
Joined: Sun Jun 25, 2006 7:28 pm

CreateConcave()

Post by applePi »

requesting CreateConcave() if possible
when we open engine3d.dll in notepad++ we find this:
?0GImpactConcaveShape@OgreBulletCollisions@@QAE@ABV01@@Z㄀??0GImpactConcaveShape@OgreBulletCollisions@@QAE@PAVVector3@Ogre@@IPAII@Z㄀??1GImpactConcaveShape@OgreBulletCollisions@@UAE@XZ㄀??4GImpactConcaveShape@OgreBulletCollisions@@QAEAAV01@ABV01
and more
so it is there the concave shape, but not implemented yet.
if we search the web for GImpactConcaveShape we find
http://sourceforge.net/p/ogreaddons/mai ... nth=200901
we can see :
SphereCollisionShape* createSphere();
BoxCollisionShape* createBox();
TriangleMeshCollisionShape* createTrimesh();
CylinderCollisionShape* createCylinder();
ConvexHullCollisionShape* createConvex();
GImpactConcaveShape* createConcave();
CompoundCollisionShape* createConvexDecomposition(.....)

we can see that with GImpactConcaveShape* we can make createConcave(), and GImpactConcaveShape is here inside engine3d.dll !!.
this is may be usefull in making Gears and other concave dynamic shapes