Skip to content

docs(rapier): improve demos with controls & resets - #1470

Merged
alvarosabu merged 3 commits into
mainfrom
docs/rapier-demos-reset-controls
Aug 17, 2026
Merged

docs(rapier): improve demos with controls & resets#1470
alvarosabu merged 3 commits into
mainfrom
docs/rapier-demos-reset-controls

Conversation

@Neosoulink

@Neosoulink Neosoulink commented Aug 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Rename constant GRAVITYDEFAULT_GRAVITY in @tresjs/rapier
  • Enhance the Physics docs demo with controls for pause, timeStep, and timeScale
  • Add a shared Reset utils and wire a Reset button into all rapier-docs demos

    Restores rigid-body pose/velocity/forces, and Leches GUI to defaults

Preview

Recording_136.mov

### Description

- Expose all props in Physics demo
- Add a Reset button across demos
- Rename GRAVITY to DEFAULT_GRAVITY
@Neosoulink Neosoulink self-assigned this Aug 3, 2026
@Neosoulink
Neosoulink requested a review from alvarosabu as a code owner August 3, 2026 14:16
@Neosoulink Neosoulink added docs Improvements or additions to documentation rapier labels Aug 3, 2026
@netlify

netlify Bot commented Aug 3, 2026

Copy link
Copy Markdown

Deploy Preview for tresjs-lab ready!

Name Link
🔨 Latest commit 398cd57
🔍 Latest deploy log https://app.netlify.com/projects/tresjs-lab/deploys/6a7f12054197be00086dbf51
😎 Deploy Preview https://deploy-preview-1470--tresjs-lab.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Aug 3, 2026

Copy link
Copy Markdown

Deploy Preview for cientos-tresjs ready!

Name Link
🔨 Latest commit 398cd57
🔍 Latest deploy log https://app.netlify.com/projects/cientos-tresjs/deploys/6a7f120501ff2b0008c03cdb
😎 Deploy Preview https://deploy-preview-1470--cientos-tresjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Aug 3, 2026

Copy link
Copy Markdown

Deploy Preview for tresjs-docs ready!

Name Link
🔨 Latest commit 398cd57
🔍 Latest deploy log https://app.netlify.com/projects/tresjs-docs/deploys/6a7f1205df6b6c0008204538
😎 Deploy Preview https://deploy-preview-1470--tresjs-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Aug 3, 2026

Copy link
Copy Markdown

Deploy Preview for postprocessing-tresjs ready!

Name Link
🔨 Latest commit 398cd57
🔍 Latest deploy log https://app.netlify.com/projects/postprocessing-tresjs/deploys/6a7f12057f293e0008080990
😎 Deploy Preview https://deploy-preview-1470--postprocessing-tresjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Aug 3, 2026

Copy link
Copy Markdown

Deploy Preview for rapier-docs ready!

Name Link
🔨 Latest commit 398cd57
🔍 Latest deploy log https://app.netlify.com/projects/rapier-docs/deploys/6a7f120501d7ca00086dc8f6
😎 Deploy Preview https://deploy-preview-1470--rapier-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@pkg-pr-new

pkg-pr-new Bot commented Aug 3, 2026

Copy link
Copy Markdown

Open in StackBlitz

@tresjs/cientos

npm i https://pkg.pr.new/@tresjs/cientos@1470

@tresjs/core

npm i https://pkg.pr.new/@tresjs/core@1470

@tresjs/eslint-config

npm i https://pkg.pr.new/@tresjs/eslint-config@1470

@tresjs/leches

npm i https://pkg.pr.new/@tresjs/leches@1470

@tresjs/nuxt

npm i https://pkg.pr.new/@tresjs/nuxt@1470

@tresjs/post-processing

npm i https://pkg.pr.new/@tresjs/post-processing@1470

@tresjs/rapier

npm i https://pkg.pr.new/@tresjs/rapier@1470

commit: 398cd57

@alvarosabu alvarosabu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM @Neosoulink 🚢

@alvarosabu
alvarosabu merged commit a4cd9c0 into main Aug 17, 2026
10 checks passed
@alvarosabu
alvarosabu deleted the docs/rapier-demos-reset-controls branch August 17, 2026 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation rapier

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants