@dimforge/rapier3d-compat
Advanced tools
Changelog
0.8.1 (2022-04-06)
Starting with this release, all the examples in testbed2d
and testbed3d
have been updated to webpack 5
,
and are written in Typescript. In addition, canary 0.0.0
releases will be generated automatically after each merge
to the master
branch.
World.intersectionPair
to always return false
.Changelog
0.8.0 (2022-03-31)
RigidBody
or Collider
objects instead. Handles are now only needed for events and hooks.ActiveCollisionTypes
flags.RigidBody.applyForce
and .applyTorque
methods have been replaced by .addForce
and .addTorque
. These
force/torques are no longer automatically zeroed after a timestep. To zero them manually, call .resetForce
or
.resetTorque
.EventQueue.drainContactEvents
and EventQueue.drainIntersectionEvents
have been merged into a single
method: EventQueue:drainCollisionEvents
.THREE.js
and PIXI.js
.World
.wakeUp: bool
argument to the World.createImpulseJoint
and MultibodyJointSet::createMultibodyJoint
to
automatically wake-up the rigid-bodies attached to the inserted joint.filter
callback to all the scene queries. Use this for filtering more fine-grained than collision groups.collider.shape
that represents the shape of a collider. This is a more convenient way of reading the collider’s
shape properties. Modifying this shape will have no effect unless collider.setShape
is called with the modified
shape.Collider.containsPoint
, .projectPoint
, .intersectsRay
, .castShape
, .castCollider
, .intersectsShape
,
.contactShape
, .contactCollider
, .castRay
, .castRayAndGetNormal
.Shape.containsPoint
, .projectPoint
, .intersectsRay
, .castShape
, .intersectsShape
,
.contactShape
, .castRay
, .castRayAndGetNormal
.World.projectPointAndGetFeature
which includes the feature Id the projected point lies on.RigidBodyDesc.sleeping
to initialize the rigid-body in a sleeping state.Changelog
0.8.0-alpha.2 (2022-03-20)
The changelog hasn’t been updated yet. For an overview of the changes, refer to the changelog for the unreleased Rust version: https://github.com/dimforge/rapier/blob/master/CHANGELOG.md#unreleased