Bot releases are visible (Hide)
Published by stockhuman over 3 years ago
Published by stockhuman over 3 years ago
useTrimesh
and useConvexPolyhedron
, examples updated accordingly. (#159)Published by stockhuman over 3 years ago
RaycastVehicle
(#156)Published by stockhuman over 3 years ago
collisionResponse
property (#146)body.updateMassProperties()
when calling api.mass.set(x)
(#144)init
error, bring syntax up to date with r3f v5gl.xr
checkingPublished by codynova about 4 years ago
Published by codynova about 4 years ago
Physics
provider allowSleep
to false
Published by codynova about 4 years ago
useBox
args
to use extents
instead of halfExtents
Published by codynova about 4 years ago
worker_threads
with new version of worker-loader
Published by codynova about 4 years ago
Published by codynova about 4 years ago
Published by codynova over 4 years ago
[x, y, z]
instead of halfExtents [x/2, y/2, z/2]
. This affects both useBox
and useCompoundBody
.Published by codynova over 4 years ago
useBox
args
default values bug from v0.4.7Published by codynova over 4 years ago
v0.4.5
cannon-es
- useCylinder
default axis alignment changedpeerDependencies
for typescript>=3.8
v0.4.4
linearFactor
and angularFactor
to body APIv0.4.3
velocity
and angularVelocity
Published by codynova over 4 years ago
Where target
is the body with the event listener attached, and body
is the other body that was collided with
Published by codynova over 4 years ago
useCompoundBody
expected rotations in Quaternion (instead of Euler)const velocity = useRef([0, 0, 0])
const [ref, api] = useSphere(() => ({ mass: 10 }))
useEffect(() => api.velocity.subscribe(v => velocity.current = v), [])
return (
<mesh ref={ref}>
// ...
Published by codynova over 4 years ago
Body properties can now be read from the worker asynchronously
Published by codynova over 4 years ago
Published by codynova over 4 years ago
material
option in hooks args functionuseCompoundBody
hook for multi-shape bodies