Skip to content

Conversation

@isaac-mason
Copy link
Member

@isaac-mason isaac-mason commented Jun 26, 2022

Notes

  • Add useBody hook that infers shape with three-to-cannon
  • Add ShapeInference demo demonstrating the useBody hook

Todo

@vercel
Copy link

vercel bot commented Jun 26, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
use-cannon ✅ Ready (Inspect) Visit Preview Jun 26, 2022 at 1:19PM (UTC)

@fgarrec0397
Copy link

@isaac-mason do you have any updates on this PR? I'm waiting after this functionality to dynamically assign shapes with the useBody hook in my project.

Thanks :)

@isaac-mason
Copy link
Member Author

isaac-mason commented Jul 14, 2022

I appreciate the interest @fgarrec0397!

There are still a few issues and TODOs before I'd consider this PR ready:

  • generated bounding shapes have an incorrect center of mass
  • when two generated convex hulls collide the physics simulation breaks
  • the useBody hook API could be improved
  • and of course, the PR needs a review! 🙂

I'm trying to grab time for this where I can, but unfortunately, work & life have been a little busier!

@fgarrec0397
Copy link

Thanks for the update @isaac-mason 🙂

There is no stress, I will make a work around waiting your PR to be merged and released !

Thanks again !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants