Registry / other / reactphysics3d

reactphysics3d

JSON →
library0.10.2vcpkgunverified

Open source C++ physics engine library for 3D simulations.

vcpkg install reactphysics3d
INSTALL
IMPORT
SIG · REACTPHYSICS3D
R
reactphysics3d
othercppv0.10.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

reactphysics3d/reactphysics3d.h
#include <reactphysics3d/reactphysics3d.h>

Creates a physics world with gravity and a dynamic body, then steps the simulation.

#include <reactphysics3d/reactphysics3d.h> #include <iostream> int main() { rp3d::PhysicsWorld world(rp3d::Vector3(0, -9.81, 0)); rp3d::RigidBody* body = world.createRigidBody(rp3d::Transform::identity()); body->setType(rp3d::BodyType::DYNAMIC); world.update(1.0f / 60.0f); std::cout << body->getTransform().getPosition().y << std::endl; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.10.2latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

reactphysics3d — pip install reactphysics3d · libregistry