Public Member Functions | |
Box (const btVector3 &halfExtents, irr::scene::ISceneNode *node, btScalar mass) | |
ctor |
Box::Box | ( | const btVector3 & | halfExtents, | |
irr::scene::ISceneNode * | node, | |||
btScalar | mass | |||
) |
ctor
halfExtents | half extent of the box | |
node | Attached node | |
mass | Mass of the object |
If you pass it a (1, 4, 3) it will generate a box of extent (2, 8, 6) CENTERED at the position of the given node.
References Object::init().