c-frame / physx

A-Frame physics using PhysX
MIT License
24 stars 4 forks source link

This PR adds PhysX examples that are equivalent to all existing examples in aframe-physics system #14

Closed diarmidmackenzie closed 1 year ago

diarmidmackenzie commented 1 year ago

Most of these examples could be implemented without core code changes.

There are just a couple of bug fixes

Most examples work fine. The only exceptions are:

Those two problems might not be fast to solve, so I propose merging this PR as is, and raising separate issues to track those problems.

diarmidmackenzie commented 1 year ago

While this PR is under review, I've published the source branch at GitHub Pages here: https://diarmidmackenzie.github.io/physx/examples/

But note that links don't work - you'll need these instead:

https://diarmidmackenzie.github.io/physx/examples/basic/index.html https://diarmidmackenzie.github.io/physx/examples/sandbox/index.html https://diarmidmackenzie.github.io/physx/examples/compound/index.html https://diarmidmackenzie.github.io/physx/examples/constraints/index.html https://diarmidmackenzie.github.io/physx/examples/materials/index.html https://diarmidmackenzie.github.io/physx/examples/spring/index.html https://diarmidmackenzie.github.io/physx/examples/stress/index.html https://diarmidmackenzie.github.io/physx/examples/ttl/index.html https://diarmidmackenzie.github.io/physx/examples/pinboard/physx.html https://diarmidmackenzie.github.io/physx/examples/pinboard/ammo-vs-physx.html

kylebakerio commented 1 year ago

exciting! fantastic work, will try to look into this soon!