8 #include <argos3/plugins/robots/foot-bot/simulator/footbot_entity.h>
17 CPhysXSingleBodyObjectModel(c_engine, c_entity),
18 m_cFootBotEntity(c_entity) {
20 SetARGoSReferencePoint(physx::PxVec3(0.0f, 0.0f, 0.0f));
23 CVector3ToPxVec3(GetEmbodiedEntity().GetOriginAnchor().Position, cPos);
24 physx::PxQuat cOrient;
25 CQuaternionToPxQuat(GetEmbodiedEntity().GetOriginAnchor().Orientation, cOrient);
31 physx::PxTransform cTranslation1(physx::PxVec3(0.0f, 0.0f, 0.0f));
32 physx::PxTransform cRotation(cOrient);
33 physx::PxTransform cTranslation2(cPos);
34 physx::PxTransform cFinalTrans = cTranslation2 * cRotation * cTranslation1;
36 CalculateBoundingBox();
The namespace containing all the ARGoS related code.
REGISTER_STANDARD_PHYSX_OPERATIONS_ON_ENTITY(CEPuckEntity, CPhysXEPuckModel)
CPhysXFootBotModel(CPhysXEngine &c_engine, CFootBotEntity &c_entity)
virtual void UpdateFromEntityStatus()