BsPhysXSphereCollider.h 737 B

1234567891011121314151617181920212223
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsPhysXPrerequisites.h"
  5. #include "BsSphereCollider.h"
  6. #include "PxPhysics.h"
  7. namespace BansheeEngine
  8. {
  9. class PhysXSphereCollider : public SphereCollider
  10. {
  11. public:
  12. PhysXSphereCollider(physx::PxPhysics* physx, const Vector3& position, const Quaternion& rotation, float radius);
  13. ~PhysXSphereCollider();
  14. void setRadius(float radius) override;
  15. float getRadius() const override;
  16. private:
  17. FPhysXCollider* getInternal() const;
  18. };
  19. }