- 800a687: feat(props-to-body): support both quaternion and rotation props, prefer quaternion if both provided (@Soham1803)
- 22d49ef: chore: update @types/three dev dependency
- [
README.md
] Improve links to related packages (@bjornstar)
- Make sure to include dist in npm package (@bjornstar)
- Remove subscriptions when removing bodies and vehicles (@alex-shortt)
- Add support for
frictionGravity
on WorldProps (@chnicoloso)
- New private method
postMessage
that queues the messages if there is no worker - New public method:
connect
, we instantiate the worker, add the onmessage handler and flush the messageQueue - New public method:
disconnect
, removes the onmessage handler (probably unnecessary) init
now takesworld
instead ofstate
three.js
is now apeerDependency
and requires r139 or higher- Updated many
devDependencies
- [WorkerRayHitEvent] from & to are optional (@bjornstar)
- [WorkerRayHitEvent] Omit methods from shape type (@bjornstar)
- [
src/worker
] self.postMessage should be typed to ensure we match API types (@bjornstar) - [
src/worker
] Stop using non-null assertions (@bjornstar) - [
addBodies
] If the body or target does not have a uuid, don't process the event (@bjornstar) - [
addRay
] If the body does not have a uuid, don't process the event (@bjornstar) - [
package.json
] Has one dependency:three
(@bjornstar) - [
.eslintrc.json
] Clean up (@bjornstar) - [
.eslintrc.json
] Disallow non-null assertions (@bjornstar)
- Specify targetPlatform: 'browser' (@isaac-mason)
- Initial Release