Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

3D Object will be able to rotate on all axis, figuring out collision options for 3DObject: manual sized sphere, box, automatically sized sphere box (based on initial bounding box, I don't think dynamically updated)

More advanced (and heavier perf) cylinder:


const radiusTop = 0.5
const radiusBottom = 0.5
const height = 2
const numSegments = 12 (more, more perf)
const cylinderShape = new CANNON.Cylinder(radiusTop, radiusBottom, height, numSegments)