Skip to content

Releases: pmndrs/react-three-rapier

@react-three/[email protected]

29 Sep 06:32
376af34
Compare
Choose a tag to compare

Patch Changes

  • 36328f7: Fix InstancedRigidBodies not passing options to colliders

@react-three/[email protected]

28 Sep 19:27
2292dda
Compare
Choose a tag to compare

Minor Changes

  • 7cf2f59: Refactor of entire component structure for more control and maintainability

Patch Changes

  • 7cf2f59: Nested transforms are now accurately converted to RigidBody localspace
  • 7cf2f59: Add support for density and sensor props on Collider and RigidBody
  • 7cf2f59: Import mergeVertices from three-stdlib for better support
  • 7cf2f59: Mutable component props now propagate without needing a refresh, adding support for HMR, and removing the need to use API when doing simple setups and updates
  • 7cf2f59: Updates to main loop, simplifying and reducing call overhead
  • 7cf2f59: RigidBody transform interpolation now works as expected

@react-three/[email protected]

21 Sep 16:10
e7e52d0
Compare
Choose a tag to compare

Patch Changes

  • 720b03d: Add collision events to individual Colliders (@hmans)
  • 6109dcf: Export RigidBodyProps and XXXColliderProps
  • 980a53d: Adds the <Physics updatePriority={...}> prop, allowing the user to configure the update priority at which to run the components update loop. (@hmans)
  • 5de1f77: The physics world stepping would needlessly catch up all the time missed while the host application was suspended in a background tab. This has been fixed. (@hmans)

@react-three/[email protected]

09 Sep 17:11
88eab4c
Compare
Choose a tag to compare

Patch Changes

  • 1aa19da: Fix collision events ignoring the first created RigidBody
  • 7529b96: api.setRotation() and api.setNextKinematicRotation() now expects a Quaternion argument, to equal the return from api.rotation() and coincide with rapiers base api

@react-three/[email protected]

08 Sep 06:46
3ca7bc6
Compare
Choose a tag to compare

Patch Changes

  • 4ec57f6: Fixed rigidbodies should still update the position of their meshes
  • 84aa8bc: Fix HeighfieldCollider
  • 84aa8bc: Fix RoundCuboidCollider
  • 84aa8bc: All colliders have more accurate debug shapes
  • 84aa8bc: You can now set the wireframe active and sleep color for Debug

@react-three/[email protected]

29 Aug 20:44
8bc5659
Compare
Choose a tag to compare

Patch Changes

  • 77635c4: feat: allow object3d props through RigidBody (@Glavin001)
  • e229bd2: Disable problematic translation interpolation for now
  • 31da80f: fix: fix crash for non-indexed trimeshes by applying mergeVertices from BufferGeometryUtils (@machado2)

@react-three/[email protected]

16 Aug 07:40
c9dd1a7
Compare
Choose a tag to compare

Patch Changes

  • e71ea11: World no longer crashes when <Physics /> is reinitiated
  • e71ea11: Fixed timestep (inspired by cannon-es), with interpolation, for simulation determinism

@react-three/[email protected]

10 Aug 19:49
edbfca4
Compare
Choose a tag to compare

Patch Changes

@react-three/[email protected]

10 Aug 19:36
aee2240
Compare
Choose a tag to compare

Patch Changes

  • 8f635ea: Collider components allowed in <InstancedRigidBodies> which allows combound shape creation
  • 8f635ea: Add paused to <Physics /> to allow pausing
  • f1abe81: feat(RigidBody): add linear and angular damping methods to api and props to RigidBody

@react-three/[email protected]

01 Aug 18:08
b254fb4
Compare
Choose a tag to compare

Patch Changes

  • 616fdda: Add scales to InstancedRigidBodies for setting scales of the instances