joltphysics/3.0.1

A multi core friendly rigid body physics and collision detection library, written in C++, suitable for games and VR applications.
Recipe info
2023-07-08

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
joltphysics/3.0.1

Using joltphysics

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
joltphysics/3.0.1
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("joltphysics/3.0.1")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): joltphysics
  • CMake target name(s): joltphysics::joltphysics
  • pkg-config file name(s): joltphysics.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(joltphysics REQUIRED)
# ...
target_link_libraries(YOUR_TARGET joltphysics::joltphysics)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the joltphysics homepage listed above:

#include "Jolt/AABBTree/AABBTreeBuilder.h"
#include "Jolt/AABBTree/AABBTreeToBuffer.h"
#include "Jolt/AABBTree/NodeCodec/NodeCodecQuadTreeHalfFloat.h"
#include "Jolt/AABBTree/TriangleCodec/TriangleCodecIndexed8BitPackSOA4Flags.h"
#include "Jolt/ConfigurationString.h"
#include "Jolt/Core/ARMNeon.h"
#include "Jolt/Core/Atomics.h"
#include "Jolt/Core/ByteBuffer.h"
#include "Jolt/Core/Color.h"
#include "Jolt/Core/Core.h"
#include "Jolt/Core/FPControlWord.h"
#include "Jolt/Core/FPException.h"
#include "Jolt/Core/FPFlushDenormals.h"
#include "Jolt/Core/Factory.h"
#include "Jolt/Core/FixedSizeFreeList.h"
#include "Jolt/Core/FixedSizeFreeList.inl"
#include "Jolt/Core/HashCombine.h"
#include "Jolt/Core/InsertionSort.h"
#include "Jolt/Core/IssueReporting.h"
#include "Jolt/Core/JobSystem.h"
#include "Jolt/Core/JobSystem.inl"
#include "Jolt/Core/JobSystemThreadPool.h"
#include "Jolt/Core/JobSystemWithBarrier.h"
#include "Jolt/Core/LinearCurve.h"
#include "Jolt/Core/LockFreeHashMap.h"
#include "Jolt/Core/LockFreeHashMap.inl"
#include "Jolt/Core/Memory.h"
#include "Jolt/Core/Mutex.h"
#include "Jolt/Core/MutexArray.h"
#include "Jolt/Core/NonCopyable.h"
#include "Jolt/Core/Profiler.h"
#include "Jolt/Core/Profiler.inl"
#include "Jolt/Core/QuickSort.h"
#include "Jolt/Core/RTTI.h"
#include "Jolt/Core/Reference.h"
#include "Jolt/Core/Result.h"
#include "Jolt/Core/STLAlignedAllocator.h"
#include "Jolt/Core/STLAllocator.h"
#include "Jolt/Core/STLTempAllocator.h"
#include "Jolt/Core/Semaphore.h"
#include "Jolt/Core/StaticArray.h"
#include "Jolt/Core/StreamIn.h"
#include "Jolt/Core/StreamOut.h"
#include "Jolt/Core/StreamWrapper.h"
#include "Jolt/Core/StringTools.h"
#include "Jolt/Core/TempAllocator.h"
#include "Jolt/Core/TickCounter.h"
#include "Jolt/Core/UnorderedMap.h"
#include "Jolt/Core/UnorderedSet.h"
#include "Jolt/Geometry/AABox.h"
#include "Jolt/Geometry/AABox4.h"
#include "Jolt/Geometry/ClipPoly.h"
#include "Jolt/Geometry/ClosestPoint.h"
#include "Jolt/Geometry/ConvexHullBuilder.h"
#include "Jolt/Geometry/ConvexHullBuilder2D.h"
#include "Jolt/Geometry/ConvexSupport.h"
#include "Jolt/Geometry/EPAConvexHullBuilder.h"
#include "Jolt/Geometry/EPAPenetrationDepth.h"
#include "Jolt/Geometry/Ellipse.h"
#include "Jolt/Geometry/GJKClosestPoint.h"
#include "Jolt/Geometry/IndexedTriangle.h"
#include "Jolt/Geometry/Indexify.h"
#include "Jolt/Geometry/MortonCode.h"
#include "Jolt/Geometry/OrientedBox.h"
#include "Jolt/Geometry/Plane.h"
#include "Jolt/Geometry/RayAABox.h"
#include "Jolt/Geometry/RayAABox8.h"
#include "Jolt/Geometry/RayCapsule.h"
#include "Jolt/Geometry/RayCylinder.h"
#include "Jolt/Geometry/RaySphere.h"
#include "Jolt/Geometry/RayTriangle.h"
#include "Jolt/Geometry/RayTriangle8.h"
#include "Jolt/Geometry/Sphere.h"
#include "Jolt/Geometry/Triangle.h"
#include "Jolt/Jolt.cmake"
#include "Jolt/Jolt.h"
#include "Jolt/Math/DMat44.h"
#include "Jolt/Math/DMat44.inl"
#include "Jolt/Math/DVec3.h"
#include "Jolt/Math/DVec3.inl"
#include "Jolt/Math/Double3.h"
#include "Jolt/Math/DynMatrix.h"
#include "Jolt/Math/EigenValueSymmetric.h"
#include "Jolt/Math/FindRoot.h"
#include "Jolt/Math/Float2.h"
#include "Jolt/Math/Float3.h"
#include "Jolt/Math/Float4.h"
#include "Jolt/Math/GaussianElimination.h"
#include "Jolt/Math/HalfFloat.h"
#include "Jolt/Math/Mat44.h"
#include "Jolt/Math/Mat44.inl"
#include "Jolt/Math/Math.h"
#include "Jolt/Math/MathTypes.h"
#include "Jolt/Math/Matrix.h"
#include "Jolt/Math/Quat.h"
#include "Jolt/Math/Quat.inl"
#include "Jolt/Math/Real.h"
#include "Jolt/Math/Swizzle.h"
#include "Jolt/Math/Trigonometry.h"
#include "Jolt/Math/UVec4.h"
#include "Jolt/Math/UVec4.inl"
#include "Jolt/Math/UVec8.h"
#include "Jolt/Math/UVec8.inl"
#include "Jolt/Math/Vec3.h"
#include "Jolt/Math/Vec3.inl"
#include "Jolt/Math/Vec4.h"
#include "Jolt/Math/Vec4.inl"
#include "Jolt/Math/Vec8.h"
#include "Jolt/Math/Vec8.inl"
#include "Jolt/Math/Vector.h"
#include "Jolt/ObjectStream/GetPrimitiveTypeOfType.h"
#include "Jolt/ObjectStream/ObjectStream.h"
#include "Jolt/ObjectStream/ObjectStreamBinaryIn.h"
#include "Jolt/ObjectStream/ObjectStreamBinaryOut.h"
#include "Jolt/ObjectStream/ObjectStreamIn.h"
#include "Jolt/ObjectStream/ObjectStreamOut.h"
#include "Jolt/ObjectStream/ObjectStreamTextIn.h"
#include "Jolt/ObjectStream/ObjectStreamTextOut.h"
#include "Jolt/ObjectStream/ObjectStreamTypes.h"
#include "Jolt/ObjectStream/SerializableAttribute.h"
#include "Jolt/ObjectStream/SerializableAttributeEnum.h"
#include "Jolt/ObjectStream/SerializableAttributeTyped.h"
#include "Jolt/ObjectStream/SerializableObject.h"
#include "Jolt/ObjectStream/TypeDeclarations.h"
#include "Jolt/Physics/Body/Body.h"
#include "Jolt/Physics/Body/Body.inl"
#include "Jolt/Physics/Body/BodyAccess.h"
#include "Jolt/Physics/Body/BodyActivationListener.h"
#include "Jolt/Physics/Body/BodyCreationSettings.h"
#include "Jolt/Physics/Body/BodyFilter.h"
#include "Jolt/Physics/Body/BodyID.h"
#include "Jolt/Physics/Body/BodyInterface.h"
#include "Jolt/Physics/Body/BodyLock.h"
#include "Jolt/Physics/Body/BodyLockInterface.h"
#include "Jolt/Physics/Body/BodyLockMulti.h"
#include "Jolt/Physics/Body/BodyManager.h"
#include "Jolt/Physics/Body/BodyPair.h"
#include "Jolt/Physics/Body/MassProperties.h"
#include "Jolt/Physics/Body/MotionProperties.h"
#include "Jolt/Physics/Body/MotionProperties.inl"
#include "Jolt/Physics/Body/MotionQuality.h"
#include "Jolt/Physics/Body/MotionType.h"
#include "Jolt/Physics/Character/Character.h"
#include "Jolt/Physics/Character/CharacterBase.h"
#include "Jolt/Physics/Character/CharacterVirtual.h"
#include "Jolt/Physics/Collision/AABoxCast.h"
#include "Jolt/Physics/Collision/ActiveEdgeMode.h"
#include "Jolt/Physics/Collision/ActiveEdges.h"
#include "Jolt/Physics/Collision/BackFaceMode.h"
#include "Jolt/Physics/Collision/BroadPhase/BroadPhase.h"
#include "Jolt/Physics/Collision/BroadPhase/BroadPhaseBruteForce.h"
#include "Jolt/Physics/Collision/BroadPhase/BroadPhaseLayer.h"
#include "Jolt/Physics/Collision/BroadPhase/BroadPhaseQuadTree.h"
#include "Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h"
#include "Jolt/Physics/Collision/BroadPhase/QuadTree.h"
#include "Jolt/Physics/Collision/CastConvexVsTriangles.h"
#include "Jolt/Physics/Collision/CastResult.h"
#include "Jolt/Physics/Collision/CastSphereVsTriangles.h"
#include "Jolt/Physics/Collision/CollectFacesMode.h"
#include "Jolt/Physics/Collision/CollideConvexVsTriangles.h"
#include "Jolt/Physics/Collision/CollidePointResult.h"
#include "Jolt/Physics/Collision/CollideShape.h"
#include "Jolt/Physics/Collision/CollideSphereVsTriangles.h"
#include "Jolt/Physics/Collision/CollisionCollector.h"
#include "Jolt/Physics/Collision/CollisionCollectorImpl.h"
#include "Jolt/Physics/Collision/CollisionDispatch.h"
#include "Jolt/Physics/Collision/CollisionGroup.h"
#include "Jolt/Physics/Collision/ContactListener.h"
#include "Jolt/Physics/Collision/EstimateCollisionResponse.h"
#include "Jolt/Physics/Collision/GroupFilter.h"
#include "Jolt/Physics/Collision/GroupFilterTable.h"
#include "Jolt/Physics/Collision/ManifoldBetweenTwoFaces.h"
#include "Jolt/Physics/Collision/NarrowPhaseQuery.h"
#include "Jolt/Physics/Collision/NarrowPhaseStats.h"
#include "Jolt/Physics/Collision/ObjectLayer.h"
#include "Jolt/Physics/Collision/PhysicsMaterial.h"
#include "Jolt/Physics/Collision/PhysicsMaterialSimple.h"
#include "Jolt/Physics/Collision/RayCast.h"
#include "Jolt/Physics/Collision/Shape/BoxShape.h"
#include "Jolt/Physics/Collision/Shape/CapsuleShape.h"
#include "Jolt/Physics/Collision/Shape/CompoundShape.h"
#include "Jolt/Physics/Collision/Shape/CompoundShapeVisitors.h"
#include "Jolt/Physics/Collision/Shape/ConvexHullShape.h"
#include "Jolt/Physics/Collision/Shape/ConvexShape.h"
#include "Jolt/Physics/Collision/Shape/CylinderShape.h"
#include "Jolt/Physics/Collision/Shape/DecoratedShape.h"
#include "Jolt/Physics/Collision/Shape/GetTrianglesContext.h"
#include "Jolt/Physics/Collision/Shape/HeightFieldShape.h"
#include "Jolt/Physics/Collision/Shape/MeshShape.h"
#include "Jolt/Physics/Collision/Shape/MutableCompoundShape.h"
#include "Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h"
#include "Jolt/Physics/Collision/Shape/PolyhedronSubmergedVolumeCalculator.h"
#include "Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h"
#include "Jolt/Physics/Collision/Shape/ScaleHelpers.h"
#include "Jolt/Physics/Collision/Shape/ScaledShape.h"
#include "Jolt/Physics/Collision/Shape/Shape.h"
#include "Jolt/Physics/Collision/Shape/SphereShape.h"
#include "Jolt/Physics/Collision/Shape/StaticCompoundShape.h"
#include "Jolt/Physics/Collision/Shape/SubShapeID.h"
#include "Jolt/Physics/Collision/Shape/SubShapeIDPair.h"
#include "Jolt/Physics/Collision/Shape/TaperedCapsuleShape.gliffy"
#include "Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h"
#include "Jolt/Physics/Collision/Shape/TriangleShape.h"
#include "Jolt/Physics/Collision/ShapeCast.h"
#include "Jolt/Physics/Collision/ShapeFilter.h"
#include "Jolt/Physics/Collision/SortReverseAndStore.h"
#include "Jolt/Physics/Collision/TransformedShape.h"
#include "Jolt/Physics/Constraints/ConeConstraint.h"
#include "Jolt/Physics/Constraints/Constraint.h"
#include "Jolt/Physics/Constraints/ConstraintManager.h"
#include "Jolt/Physics/Constraints/ConstraintPart/AngleConstraintPart.h"
#include "Jolt/Physics/Constraints/ConstraintPart/AxisConstraintPart.h"
#include "Jolt/Physics/Constraints/ConstraintPart/DualAxisConstraintPart.h"
#include "Jolt/Physics/Constraints/ConstraintPart/GearConstraintPart.h"
#include "Jolt/Physics/Constraints/ConstraintPart/HingeRotationConstraintPart.h"
#include "Jolt/Physics/Constraints/ConstraintPart/IndependentAxisConstraintPart.h"
#include "Jolt/Physics/Constraints/ConstraintPart/PointConstraintPart.h"
#include "Jolt/Physics/Constraints/ConstraintPart/RackAndPinionConstraintPart.h"
#include "Jolt/Physics/Constraints/ConstraintPart/RotationEulerConstraintPart.h"
#include "Jolt/Physics/Constraints/ConstraintPart/RotationQuatConstraintPart.h"
#include "Jolt/Physics/Constraints/ConstraintPart/SpringPart.h"
#include "Jolt/Physics/Constraints/ConstraintPart/SwingTwistConstraintPart.h"
#include "Jolt/Physics/Constraints/ContactConstraintManager.h"
#include "Jolt/Physics/Constraints/DistanceConstraint.h"
#include "Jolt/Physics/Constraints/FixedConstraint.h"
#include "Jolt/Physics/Constraints/GearConstraint.h"
#include "Jolt/Physics/Constraints/HingeConstraint.h"
#include "Jolt/Physics/Constraints/MotorSettings.h"
#include "Jolt/Physics/Constraints/PathConstraint.h"
#include "Jolt/Physics/Constraints/PathConstraintPath.h"
#include "Jolt/Physics/Constraints/PathConstraintPathHermite.h"
#include "Jolt/Physics/Constraints/PointConstraint.h"
#include "Jolt/Physics/Constraints/PulleyConstraint.h"
#include "Jolt/Physics/Constraints/RackAndPinionConstraint.h"
#include "Jolt/Physics/Constraints/SixDOFConstraint.h"
#include "Jolt/Physics/Constraints/SliderConstraint.h"
#include "Jolt/Physics/Constraints/SwingTwistConstraint.h"
#include "Jolt/Physics/Constraints/TwoBodyConstraint.h"
#include "Jolt/Physics/DeterminismLog.h"
#include "Jolt/Physics/EActivation.h"
#include "Jolt/Physics/EPhysicsUpdateError.h"
#include "Jolt/Physics/IslandBuilder.h"
#include "Jolt/Physics/LargeIslandSplitter.h"
#include "Jolt/Physics/PhysicsLock.h"
#include "Jolt/Physics/PhysicsScene.h"
#include "Jolt/Physics/PhysicsSettings.h"
#include "Jolt/Physics/PhysicsStepListener.h"
#include "Jolt/Physics/PhysicsSystem.h"
#include "Jolt/Physics/PhysicsUpdateContext.h"
#include "Jolt/Physics/Ragdoll/Ragdoll.h"
#include "Jolt/Physics/StateRecorder.h"
#include "Jolt/Physics/StateRecorderImpl.h"
#include "Jolt/Physics/Vehicle/MotorcycleController.h"
#include "Jolt/Physics/Vehicle/TrackedVehicleController.h"
#include "Jolt/Physics/Vehicle/VehicleAntiRollBar.h"
#include "Jolt/Physics/Vehicle/VehicleCollisionTester.h"
#include "Jolt/Physics/Vehicle/VehicleConstraint.h"
#include "Jolt/Physics/Vehicle/VehicleController.h"
#include "Jolt/Physics/Vehicle/VehicleDifferential.h"
#include "Jolt/Physics/Vehicle/VehicleEngine.h"
#include "Jolt/Physics/Vehicle/VehicleTrack.h"
#include "Jolt/Physics/Vehicle/VehicleTransmission.h"
#include "Jolt/Physics/Vehicle/Wheel.h"
#include "Jolt/Physics/Vehicle/WheeledVehicleController.h"
#include "Jolt/RegisterTypes.h"
#include "Jolt/Renderer/DebugRenderer.h"
#include "Jolt/Renderer/DebugRendererPlayback.h"
#include "Jolt/Renderer/DebugRendererRecorder.h"
#include "Jolt/Skeleton/SkeletalAnimation.h"
#include "Jolt/Skeleton/Skeleton.h"
#include "Jolt/Skeleton/SkeletonMapper.h"
#include "Jolt/Skeleton/SkeletonPose.h"
#include "Jolt/TriangleGrouper/TriangleGrouper.h"
#include "Jolt/TriangleGrouper/TriangleGrouperClosestCentroid.h"
#include "Jolt/TriangleGrouper/TriangleGrouperMorton.h"
#include "Jolt/TriangleSplitter/TriangleSplitter.h"
#include "Jolt/TriangleSplitter/TriangleSplitterBinning.h"
#include "Jolt/TriangleSplitter/TriangleSplitterFixedLeafSize.h"
#include "Jolt/TriangleSplitter/TriangleSplitterLongestAxis.h"
#include "Jolt/TriangleSplitter/TriangleSplitterMean.h"
#include "Jolt/TriangleSplitter/TriangleSplitterMorton.h"