use-cannon

πŸ‘‹πŸ’£ physics based hooks for @react-three/fiber

Downloads
64.4K
Stars
2.7K
Committers
46

Bot releases are hidden (Show)

use-cannon - @pmndrs/use-cannon v2.1.0 - 2022-04-02

Published by bjornstar over 2 years ago

  • [@pmndrs/cannon-worker-api] v2.0.0
  • [@react-three/cannon] v6.0.0
  • [@react-three/cannon-examples] v2.0.0
  • Set monorepo package type to module
use-cannon - @react-three/cannon v5.0.1 - 2022-03-14

Published by bjornstar over 2 years ago

  • Bump @pmndrs/cannon-worker-api to v1.0.1 (@bjornstar)
use-cannon - @pmndrs/cannon-worker-api v1.0.1 - 2022-03-14

Published by bjornstar over 2 years ago

  • Specify targetPlatform: 'browser' (@isaac-mason)
use-cannon - @pmndrs/cannon-worker-api v1.0.0 - 2022-03-13

Published by bjornstar over 2 years ago

  • Initial Release (@isaac-mason & @bjornstar)
use-cannon - @react-three/cannon v5.0.0 - 2022-03-13

Published by bjornstar over 2 years ago

  • Use newly isolated @pmndrs/cannon-worker-api (@isaac-mason)
  • Removed useUpdateWorldPropsEffect (@bjornstar)
  • [package.json] Added homepage property to go directly to the package (@bjornstar)
  • [rollup.config.js] Specify targetPlatform: 'browser' (@bjornstar)
  • [tsconfig.json] Alphabetize contents (@bjornstar)
use-cannon - v4.9.0 - 2022-03-03

Published by bjornstar over 2 years ago

  • [dependencies] Updated three & @types/three from r135 to r137 (@bjornstar)
  • [examples/dependencies] Updated @react-three/drei from v8.3.1 to v8.11.1 (@bjornstar)
  • [examples/dependencies] Updated @react-three/drei from v8.3.1 to v8.11.1 (@bjornstar)
  • [examples/dependencies] Updated three & @types/three from r135 to r137 (@bjornstar)
  • [examples/dependencies] Updated three-stdlib from 2.6.1 to v2.8.8 (@bjornstar)
  • [esmaples/dependencies] Removed postprocessing, it was unused (@bjornstar)
  • [examples] Updated GLTF types (@bjornstar)
use-cannon - v4.8.0 - 2022-02-28

Published by bjornstar over 2 years ago

  • Created CannonWorkerAPI (@isaac-mason)
  • Converted worker to typescript (@bjornstar)
  • [examples/RaycastVehicle] Use a single keyup/keydown event handler (@bjornstar)
use-cannon - v4.7.0 - 2022-02-12

Published by bjornstar over 2 years ago

  • [ESLint] Disallow enums (@bjornstar)
  • Add missing worker 'setMaterial' op handler (@isaac-mason)
  • Add isPaused property (@grndctrl & @bjornstar)
    • BREAKING: step renamed to stepSize (default: 1 / 60)
    • NEW: maxSubSteps (default: 10)
    • NEW: isPaused (fixes Pause Simulation #212)
    • NEW: Paused demo
    • timeSinceLastCall not tracked in worker
    • prefer FC to PropsWithChildren
    • REMOVED: type DefaultContactMaterial
use-cannon - v4.6.1 - 2022-01-19

Published by bjornstar over 2 years ago

  • [createMaterialFactory] Do not use logical assignment operator (@bjornstar)
  • [eslint] Disallow logical assignment and nullish coalescing operators (@bjornstar)
use-cannon - v4.6.0 - 2022-01-15

Published by bjornstar almost 3 years ago

  • [hooks] Add useContactMaterial (@Glavin001)
  • [examples] Add Friction example (@Glavin001)
  • [examples] Add title to links (@Glavin001)
use-cannon - v4.3.1 - 2021-12-30

Published by bjornstar almost 3 years ago

  • Fix RaycastVehicle example (@marcofugaro)
use-cannon - v4.4.0 - 2022-01-01

Published by bjornstar almost 3 years ago

  • Upgrade cannon-es-debugger to 1.0.0 (@marcofugaro)
  • [Debug] Improve implementation (@bjornstar)
  • [examples/RaycastVehicle] Press ? to debug (@bjornstar)
use-cannon - v4.5.0 - 2022-01-08

Published by bjornstar almost 3 years ago

  • [constraintOptns] Add maxMultiplier (@Glavin001)
use-cannon - v4.4.1 - 2022-01-04

Published by bjornstar almost 3 years ago

  • [Hooks] Destructure and set defaults intead of using ?? (@bjornstar)
  • [useRaycastVehicle] Use correct ordering for arguments (@bjornstar)
  • [examples/RaycastVehicle] Reset restores the vehicle to it's initial angularVelocity, position, & rotation (@bjornstar)
use-cannon - v4.3.0 - 2021-12-18

Published by bjornstar almost 3 years ago

  • Add AtomicName & VectorName to the README (@bjornstar)
  • Update vite to v2.7.3, change vite.config.js to vite.config.ts (@bjornstar)
  • [examples] add missing peer dependency: react-is (@bjornstar)
  • Update all dependencies, fix example routes for react-router-dom v6 (@bjornstar)
use-cannon - v4.2.0 - 2021-12-01

Published by bjornstar almost 3 years ago

  • [Types] Use PropsWithChildren from React instead of children: ReactNode (@bjornstar)
  • [README.md] Update default Physics prop values (@bjornstar)
  • export * from './setup' there are a lot of useful types in here (@bjornstar)
  • Build using jsx runtime instead of React runtime for a slightly smaller bundle (@bjornstar)
  • [CHANGELOG.md] Add details for v3.1.1 & v3.1.2 (@bjornstar)
use-cannon - v2.5.1 - 2021-07-29

Published by bjornstar almost 3 years ago

  • Update readme.md (@kevinmcalear)
  • Improve readme (@bjornstar)
  • Wrap in canvas (@bjornstar)
  • support missing world attributes (@drcmda)
use-cannon - v2.6.1 - 2021-08-15

Published by bjornstar almost 3 years ago

  • Rebuild package (@stockHuman)
use-cannon - v3.0.0 - 2021-08-21

Published by bjornstar almost 3 years ago

  • Fix return type of subscribe function (@skuteli)
  • [types] mutableRefObject should default to null (@bjornstar)
  • Start converting examples to typescript (@bjornstar)
  • [CI] Try to build the examples (@bjornstar)
  • Fix getUUID (@bjornstar)
  • Specify all op strings (@bjornstar)
  • Remove .travis.yml, update ignores (@bjornstar)
  • [Examples] Readme & Usability Improvements (@bjornstar)
  • Convert Triggers example to typescript (@bjornstar)
  • Convert Trimesh Example to typescript (@bjornstar)
use-cannon - v3.0.1 - 2021-08-23

Published by bjornstar almost 3 years ago

  • Resolve three ourselves to avoid multiple three instances and failed instanceof checks (@bjornstar)
Package Rankings
Top 1.43% on Npmjs.org
Top 6.74% on Proxy.golang.org
Badges
Extracted from project README
Build Status Discord Shield