diff --git a/src/test/potator.cpp b/src/test/potator.cpp index 3fa8c6b..8d66278 100644 --- a/src/test/potator.cpp +++ b/src/test/potator.cpp @@ -35,8 +35,8 @@ Potator::Potator(PlayerCharacterNode * player, woodTransform.setRotation(btQuaternion(0, 3.1416f, 0)); shieldShape->addChildShape(woodTransform, new btCylinderShapeZ(btVector3(0.57f + PHYSICS_SHAPES_OFFSET, 0.57f + PHYSICS_SHAPES_OFFSET, 0.03f + PHYSICS_SHAPES_OFFSET))); btTransform guardTransform = btTransform::getIdentity(); - guardTransform.setOrigin(btVector3(0.f, 0.f, -0.08f)); - shieldShape->addChildShape(guardTransform, new btConeShapeZ(0.17 + PHYSICS_SHAPES_OFFSET, -0.17 + PHYSICS_SHAPES_OFFSET)); + guardTransform.setOrigin(btVector3(0.f, 0.f, -0.035f)); + shieldShape->addChildShape(guardTransform, new btSphereShape(0.08 + PHYSICS_SHAPES_OFFSET)); m_shieldShape = shieldShape;