Bot releases are visible (Hide)
Published by bjornstar over 2 years ago
usePhysicsContext
hook, which immediately gives you a clear error message when trying to access physics components or hooks outside of a Physics provider (@bjornstar)context
to physicsContext
(@bjornstar)useDebugContext
hook for consistency (@bjornstar)Provider.tsx
] Renamed to physics-provider.tsx
(@bjornstar)Debug.tsx
] Renamed to debug-provider.tsx
(Still exported as Debug & DebugProps) (@bjornstar)physics-provider.tsx
] One useState call that contains the whole context (@bjornstar)physics-provider.tsx
] bodies is not a ref, no need to access current (@bjornstar)setup.ts
] Removed, split into more appropriately named modules (@bjornstar)worker.d.ts
] Removed, belongs in cannon-worker-api (@bjornstar)package.json
] Use dependencies rather than peerDependencies (@bjornstar).eslintrc.json
] Clean up (@bjornstar).eslintrc.json
] Disallow non-null assertions (@bjornstar)Published by bjornstar over 2 years ago
Published by bjornstar over 2 years ago
Published by bjornstar over 2 years ago
Published by bjornstar over 2 years ago
Published by bjornstar over 2 years ago
package.json
] Added homepage property to go directly to the package (@bjornstar)rollup.config.js
] Specify targetPlatform: 'browser' (@bjornstar)tsconfig.json
] Alphabetize contents (@bjornstar)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)Published by bjornstar over 2 years ago
examples/RaycastVehicle
] Use a single keyup/keydown event handler (@bjornstar)Published by bjornstar over 2 years ago
Published by bjornstar almost 3 years ago
createMaterialFactory
] Do not use logical assignment operator (@bjornstar)eslint
] Disallow logical assignment and nullish coalescing operators (@bjornstar)Published by bjornstar almost 3 years ago
hooks
] Add useContactMaterial
(@Glavin001)examples
] Add Friction
example (@Glavin001)examples
] Add title to links (@Glavin001)Published by bjornstar almost 3 years ago
Published by bjornstar almost 3 years ago
Debug
] Improve implementation (@bjornstar)examples/RaycastVehicle
] Press ?
to debug (@bjornstar)Published by bjornstar almost 3 years ago
constraintOptns
] Add maxMultiplier
(@Glavin001)Published by bjornstar almost 3 years ago
??
(@bjornstar)useRaycastVehicle
] Use correct ordering for arguments (@bjornstar)examples/RaycastVehicle
] Reset restores the vehicle to it's initial angularVelocity, position, & rotation (@bjornstar)Published by bjornstar almost 3 years ago
Published by bjornstar almost 3 years ago
PropsWithChildren
from React instead of children: ReactNode
(@bjornstar)'./setup'
there are a lot of useful types in here (@bjornstar)Published by bjornstar almost 3 years ago
Published by bjornstar almost 3 years ago
Published by bjornstar almost 3 years ago