#include <PVLE/Entity/Commons.h>
#include <PVLE/Entity/3DPhy.h>
#include <PVLE/3D/Commons.h>
#include <PVLE/3D/Utility3D.h>
#include <PVLE/Physics/Geom.h>
#include <PVLE/Physics/Utility.h>
Go to the source code of this file.
Functions | |
C3DPhy * | createFixedBox3DPhy (const osg::Vec3 &size, const osg::Vec3 &pos, const osg::Quat &orientation) |
Creates a simple 3DPhy box, without a body. | |
C3DPhy * | createBox3DPhy (Physics::World *pPhyWorld, const osg::Vec3 &size, const float mass, const osg::Vec3 &pos, const osg::Quat &orientation) |
Creates a simple 3DPhy box, with a body. | |
C3DPhy * | createFixedSphere3DPhy (const float radius, const osg::Vec3 &pos, const osg::Quat &orientation) |
Creates a simple 3DPhy sphere, without a body. | |
C3DPhy * | createSphere3DPhy (Physics::World *pPhyWorld, const float radius, const float mass, const osg::Vec3 &pos, const osg::Quat &orientation) |
Creates a simple 3DPhy sphere, with a body. | |
C3DPhy * | createFixedCapsule3DPhy (const float radius, const float length, const osg::Vec3 &pos, const osg::Quat &orientation) |
Creates a simple 3DPhy capsule, without a body. | |
C3DPhy * | createCapsule3DPhy (Physics::World *pPhyWorld, const float radius, const float length, const float mass, const osg::Vec3 &pos, const osg::Quat &orientation) |
Creates a simple 3DPhy capsule, with a body. | |
C3DPhy * | createFixedCylinder3DPhy (const float radius, const float length, const osg::Vec3 &pos, const osg::Quat &orientation) |
Creates a simple 3DPhy cylinder, without a body. | |
C3DPhy * | createCylinder3DPhy (Physics::World *pPhyWorld, const float radius, const float length, const float mass, const osg::Vec3 &pos, const osg::Quat &orientation) |
Creates a simple 3DPhy cylinder, with a body. |
C3DPhy* createBox3DPhy | ( | Physics::World * | pPhyWorld, | |
const osg::Vec3 & | size, | |||
const float | mass, | |||
const osg::Vec3 & | pos, | |||
const osg::Quat & | orientation | |||
) |
Creates a simple 3DPhy box, with a body.
Definition at line 41 of file Entity/Commons.cpp.
References Physics::createCanonicalBox(), createShapeGeodeBox(), dGeomSetPosition(), dGeomSetQuaternion(), and C3DPhy::INIT_AUTO_BIND.
C3DPhy* createCapsule3DPhy | ( | Physics::World * | pPhyWorld, | |
const float | radius, | |||
const float | length, | |||
const float | mass, | |||
const osg::Vec3 & | pos, | |||
const osg::Quat & | orientation | |||
) |
Creates a simple 3DPhy capsule, with a body.
Definition at line 71 of file Entity/Commons.cpp.
References Physics::createCanonicalCapsule(), createShapeGeodeCapsule(), dGeomSetPosition(), dGeomSetQuaternion(), and C3DPhy::INIT_AUTO_BIND.
C3DPhy* createCylinder3DPhy | ( | Physics::World * | pPhyWorld, | |
const float | radius, | |||
const float | length, | |||
const float | mass, | |||
const osg::Vec3 & | pos, | |||
const osg::Quat & | orientation | |||
) |
Creates a simple 3DPhy cylinder, with a body.
Definition at line 86 of file Entity/Commons.cpp.
References Physics::createCanonicalCylinder(), createShapeGeodeCylinder(), dGeomSetPosition(), dGeomSetQuaternion(), and C3DPhy::INIT_AUTO_BIND.
C3DPhy* createFixedBox3DPhy | ( | const osg::Vec3 & | size, | |
const osg::Vec3 & | pos, | |||
const osg::Quat & | orientation | |||
) |
Creates a simple 3DPhy box, without a body.
Definition at line 34 of file Entity/Commons.cpp.
References Physics::createCanonicalBoxGeom(), createShapeGeodeBox(), dGeomSetPosition(), dGeomSetQuaternion(), and C3DPhy::INIT_BIND_ONCE.
C3DPhy* createFixedCapsule3DPhy | ( | const float | radius, | |
const float | length, | |||
const osg::Vec3 & | pos, | |||
const osg::Quat & | orientation | |||
) |
Creates a simple 3DPhy capsule, without a body.
Definition at line 64 of file Entity/Commons.cpp.
References Physics::createCanonicalCapsuleGeom(), createShapeGeodeCapsule(), dGeomSetPosition(), dGeomSetQuaternion(), and C3DPhy::INIT_BIND_ONCE.
C3DPhy* createFixedCylinder3DPhy | ( | const float | radius, | |
const float | length, | |||
const osg::Vec3 & | pos, | |||
const osg::Quat & | orientation | |||
) |
Creates a simple 3DPhy cylinder, without a body.
Definition at line 79 of file Entity/Commons.cpp.
References Physics::createCanonicalCylinderGeom(), createShapeGeodeCylinder(), dGeomSetPosition(), dGeomSetQuaternion(), and C3DPhy::INIT_BIND_ONCE.
C3DPhy* createFixedSphere3DPhy | ( | const float | radius, | |
const osg::Vec3 & | pos, | |||
const osg::Quat & | orientation | |||
) |
Creates a simple 3DPhy sphere, without a body.
Definition at line 49 of file Entity/Commons.cpp.
References Physics::createCanonicalSphereGeom(), createShapeGeodeSphere(), dGeomSetPosition(), dGeomSetQuaternion(), and C3DPhy::INIT_BIND_ONCE.
C3DPhy* createSphere3DPhy | ( | Physics::World * | pPhyWorld, | |
const float | radius, | |||
const float | mass, | |||
const osg::Vec3 & | pos, | |||
const osg::Quat & | orientation | |||
) |
Creates a simple 3DPhy sphere, with a body.
Definition at line 56 of file Entity/Commons.cpp.
References Physics::createCanonicalSphere(), createShapeGeodeSphere(), dGeomSetPosition(), dGeomSetQuaternion(), and C3DPhy::INIT_AUTO_BIND.