schteppe / cannon.js

A lightweight 3D physics engine written in JavaScript.

Home Page:http://schteppe.github.com/cannon.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add cannon animation to gltf model in threejs

leenFskr opened this issue · comments

Hi i am new with cannon js , and i hope to achieve like this animation https://dribbble.com/shots/5999213-Developer-Website-Contacts-Page
any tips to start with this plz?

commented

@leenFskr cannon is not maintained any longer. use cannon-es: https://github.com/pmndrs/cannon-es

as for your question, this contains full code: https://twitter.com/0xca0a/status/1414971353766240261 it is using cannon-es in react though via use-cannon. it's just a bunch of sphere objects and a 0/0/0 attraction force.