Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript: Update example on CodePen. #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NodeGuy
Copy link

@NodeGuy NodeGuy commented Sep 29, 2022

The JavaScript User Guide Getting Started page references a CodePen example that's currently broken. I made the following changes:

  • Fixed it.
  • Made it more idiomatic JavaScript.
  • Made it graphical by rendering to the DOM instead of just printing on the console.

https://codepen.io/StubbornCreature/pen/dyedmKZ

Fixes dimforge/rapier.js#48.

@Vrixyz
Copy link
Contributor

Vrixyz commented May 21, 2024

Thanks, we will avoid to link to a "foreign" codepen, but updating it is definitely needed ! I'll keep this PR open until resolved

@Vrixyz Vrixyz added the S-in-progress Work has been started label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-in-progress Work has been started
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RAPIER.BodyStatus needs to be updated to RAPIER.RigidBodyType in the "getting started" codepen example
2 participants