# R3F Physics and Effects

Build editable 3D impact shots with bouncing bodies, contact cues, and luminous accents.

Canonical URL: https://www.subclip.app/agent-skills/community/r3f-physics-and-effects

![R3F Physics and Effects](https://subclipweb.subclip.app/agent-skills/community/r3f-physics-and-effects/og-e30f252ce8.jpg)

## Install in Subclip

[Install in Subclip](subclip://skills/install?slug=r3f-physics-and-effects)

Open Subclip, go to Skills > Community, find this skill and choose Install. Or go to Skills > Add skill and paste the folder link below. Review the scan and approve the installation.

Version: 1e215ad

Category: 3D

Tags: r3f, threejs, physics, bloom, needs-runtime

[Our folder](https://github.com/subclip-app/community-video-editing-skills/tree/1e215ad1ea30c472cdcb681d39e4c4151157fe21/skills/r3f-physics-and-effects)

Adapted for Subclip from [pmndrs/react-three-rapier](https://github.com/pmndrs/react-three-rapier) by Poimandres, MIT.

Adapted for Subclip from [pmndrs/react-postprocessing](https://github.com/pmndrs/react-postprocessing) by Poimandres, MIT.

# R3F Physics and Effects

<!-- cli:start -->
> Install from your terminal: `npx @subclip/community-skills install r3f-physics-and-effects`
<!-- cli:end -->

Build editable 3D shots around one visible event, such as a ball hitting the floor, a stack settling, or an impact lighting up a ring. The skill carries forward Rapier's collider and contact techniques and react-postprocessing's selective bloom, glitch, and depth-of-field recipes.

For a finished example, see the [physics impact reference](https://subclipweb.subclip.app/agent-skills/community/r3f-physics-and-effects/examples/physics-impact-reference-ae8df01ce7.mp4): a drop, a burst and a heavy hit, simulated in code and lit in Three.js, with impact sounds on the contacts.

**Runtime status.** Subclip does not expose either wrapper to authored layers. The current fallback uses seekable Three.js motion and material-based glow. See the [skill](https://raw.githubusercontent.com/subclip-app/community-video-editing-skills/1e215ad1ea30c472cdcb681d39e4c4151157fe21/skills/r3f-physics-and-effects/SKILL.md) and [runtime notes](https://raw.githubusercontent.com/subclip-app/community-video-editing-skills/1e215ad1ea30c472cdcb681d39e4c4151157fe21/skills/r3f-physics-and-effects/references/runtime-and-recipes.md).

The registry accepts one upstream, so it lists Rapier. Both MIT notices are preserved unchanged in [LICENSE](https://raw.githubusercontent.com/subclip-app/community-video-editing-skills/1e215ad1ea30c472cdcb681d39e4c4151157fe21/skills/r3f-physics-and-effects/LICENSE) and [LICENSE.react-postprocessing](https://raw.githubusercontent.com/subclip-app/community-video-editing-skills/1e215ad1ea30c472cdcb681d39e4c4151157fe21/skills/r3f-physics-and-effects/references/LICENSE.react-postprocessing). The latter credits react-spring as copyright holder. The postprocessing reference was checked at [e07ef9a](https://github.com/pmndrs/react-postprocessing/tree/e07ef9a890c8a202a3b20eac0249032cff4e7805). The cover is original artwork.

<!-- examples:start -->

## Examples

<p align="center"><a href="https://subclipweb.subclip.app/agent-skills/community/r3f-physics-and-effects/examples/physics-impact-reference-ae8df01ce7.mp4"><img src="https://subclipweb.subclip.app/agent-skills/community-readme/r3f-physics-and-effects/physics-impact-reference.gif" alt="1. Physics impact: a drop, a burst of 34 spheres and a heavy hit, simulated and lit in Three.js. Sound: CC0 clips. No AI model." width="480"></a><br><sub>1. Physics impact: a drop, a burst of 34 spheres and a heavy hit, simulated and lit in Three.js. Sound: CC0 clips. No AI model. <a href="https://subclipweb.subclip.app/agent-skills/community/r3f-physics-and-effects/examples/physics-impact-reference-ae8df01ce7.mp4">Play with sound</a></sub></p>

<p align="center"><img src="https://subclipweb.subclip.app/agent-skills/community/r3f-physics-and-effects/examples/one-second-contact-sheet-295694560f.jpg" alt="2. One frame per second of the impact shot: one seekable Remotion Three.js layer. No AI model." width="720"><br><sub>2. One frame per second of the impact shot: one seekable Remotion Three.js layer. No AI model.</sub></p>

<p align="center"><img src="https://subclipweb.subclip.app/agent-skills/community/r3f-physics-and-effects/examples/attractors-674a583ef9.jpg" alt="Small rigid bodies gather around a central attractor." width="720"><br><sub>Small rigid bodies gather around a central attractor.</sub></p>

<p align="center"><img src="https://subclipweb.subclip.app/agent-skills/community/r3f-physics-and-effects/examples/automatic-colliders-1b6a023c37.jpg" alt="Wireframes show automatic colliders around different meshes." width="720"><br><sub>Wireframes show automatic colliders around different meshes.</sub></p>

<p align="center"><img src="https://subclipweb.subclip.app/agent-skills/community/r3f-physics-and-effects/examples/compound-colliders-b23e21adb5.jpg" alt="Several collider shapes surround a single rigid body." width="720"><br><sub>Several collider shapes surround a single rigid body.</sub></p>

<p align="center"><img src="https://subclipweb.subclip.app/agent-skills/community/r3f-physics-and-effects/examples/physics-joints-6804e2fb0f.jpg" alt="A jointed chain of spheres hangs between supports." width="720"><br><sub>A jointed chain of spheres hangs between supports.</sub></p>

<p align="center"><img src="https://subclipweb.subclip.app/agent-skills/community/r3f-physics-and-effects/examples/goal-sensor-1592f2f847.jpg" alt="A ball approaches a goal that demonstrates a physics sensor." width="720"><br><sub>A ball approaches a goal that demonstrates a physics sensor.</sub></p>

<p align="center"><sub>Examples 3 to 7 by Poimandres, MIT, from github.com/pmndrs/react-three-rapier. Examples 1 and 2 made with this skill in Subclip, rendered in code with Three.js: no image or video model. Sound: CC0 clips from Freesound and a Subclip whoosh.</sub></p>

<!-- examples:end -->


## Credits

License: MIT

[pmndrs/react-three-rapier](https://github.com/pmndrs/react-three-rapier) by Poimandres, MIT

[Submit your video editing skill](https://github.com/subclip-app/community-video-editing-skills/blob/main/CONTRIBUTING.md)