i see, this you have to look up in cannons documentation. they dont use arrays and three vectors but their own: Body | cannon-es Vec3 is a cannon primitive. i think you’re very close, just this pesky thing and you have it. if you manage to call that apply function it’s just about the position normal multiplied by negative force.
drcmda
21
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| THreejs sphere phisics | 6 | 155 | April 9, 2025 | |
| Which physics engine is prefered in this case? | 47 | 1000 | November 18, 2024 | |
| Turn animated mesh into smoke | 20 | 5092 | December 16, 2019 | |
| Create circle with fuzzy edge made of individual random particles | 15 | 9333 | January 4, 2024 | |
| How to place randomly a box on a sphere | 12 | 4315 | October 7, 2018 |