Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sebcrozet
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
sebcrozet
6y ago
Yes, it uses a Newtonian formulation. Another physics engine (nphysics) I wrote before rapier, had a Lagrangian formulation of joints (using reduced-coordinates). This is something I intend to add to Rapier too at some points.
2.
▲
by
sebcrozet
6y ago
No C bindings so far. This is something I would like to consider doing at some point. Though when exactly it is done will depends on the demand since I have limited resources.
3.
▲
by
sebcrozet
6y ago
The main source of inconsistency for nphysics performances is its broad-phase algorithm. It is a tree-based approach which is admittedly not written very efficiently and has very unstable performances when most objects moves.
4.
▲
by
sebcrozet
6y ago
Author of Rapier here. The best way to get help would be to join our discord server [1]. There is a channel dedicated to rapier.js. So far most of us are Rust devs but we want to grow our JS community progressively. You can also ask questio
5.
▲
by
sebcrozet
6y ago
Yeah, ray-casting and CCD are missing currently, mostly because I didn't have the time to implement them yet (though I did implement them on ncollide/nphysics ( https://nphysics.org ) so it is mostly a matter of adapting
6.
▲
by
sebcrozet
8y ago
Well most physics engine, including nphysics, bullet, box2d, are able to achieve much more realistic simulations: just increase the number of iterations for the constraints solvers, and reduce the timesteps length. Of course this will no lo
7.
▲
User guide and WASM demos for nphysics: Rust physics engine with multibodies
(nphysics.org)
100 points
by
sebcrozet
8y ago
|
8 comments
8.
▲
by
sebcrozet
12y ago
Yes, the physics demo shown in the user guide was a bit slow (less than 60fps for sure). This video was made one year before today, using a version of nphysics that was at least 5 times slower than the current one. Also, unless the gravity
9.
▲
by
sebcrozet
12y ago
The one application I know for 4D collision detection is 3D continuous collision detection. If two 3D objects are moving, you can parameterize their movement through time to obtain a 4D shape. If those movements are only translational, and
10.
▲
Ncollide − a Rust 2D and 3D collision detection library
(ncollide.org)
57 points
by
sebcrozet
12y ago
|
9 comments