
Description
React Three Fiber physics is an agent skill from enzed/r3f-skills for adding Rapier physics to React Three Fiber scenes. It covers rigid bodies, colliders, forces, sensors and joints, and is meant for movement and simulation driven by collisions; for motion that is purely animated it points to separate animation guidance. The agent first checks installed Fiber, React and Rapier versions, because Rapier 2 targets Fiber 9 and React 19 and older projects need a compatible package line. It keeps rendering and simulation responsibilities separate. The example builds a falling, clickable body, noting that physics loads WASM asynchronously and so needs Suspense, and that cuboid collider arguments are half-extents rather than full box dimensions.…
Highlights
- Rapier rigid bodies, colliders, forces, sensors and joints
- Version guidance for Rapier 2 with Fiber 9 and React 19
- Suspense handling for asynchronous WASM loading
- Notes on common pitfalls such as half-extent collider sizes
Ratings & Reviews
No ratings yet
Be the first to rate r3f-physics.
People also visit
r3f-physics FAQ
What does this skill help build?
Physics in React Three Fiber using Rapier: rigid bodies, colliders, forces, sensors and joints for collision-driven movement and simulation.
Which versions are supported?
Rapier 2 targets Fiber 9 and React 19. Older projects need their compatible package line, so the agent checks installed versions first.
Why does it use Suspense?
Physics loads WASM asynchronously, so the Physics component should sit inside Suspense.
How do I install it?
Run: npx skills add https://github.com/enzed/r3f-skills --skill r3f-physics
What were the security audit results?
skills.sh lists Gen Agent Trust Hub: Pass, Socket: Pass, Snyk: Pass.
What are the best r3f-physics alternatives?
Popular alternatives to r3f-physics include react-three-fiber, r3f-animation and r3f-geometry. See all r3f-physics alternatives








