1) playing around with the basic demo project, i changed the box that you can shoot out to a sphere. Looking at the sphere up close, i found it isn't a perfect sphere. It has edges.
I am worried i will get strange movement as a result.
i only added one line...see below
Code: Select all
void DemoApplication::setShootBoxShape ()
{
if (!m_shootBoxShape)
{
// m_shootBoxShape = new btBoxShape(btVector3(.5f,.5f,.5f));
m_shootBoxShape = new btSphereShape(btScalar(.5f));
}
}
2) How to add bend to an object, i think its called centripical force, like a curve ball in baseball?