Software for simulating physics like collisions, forces, mass, joints, motion etc. Examples of physics engines are PhysX, Havok, Bullet and ODE.

learn more… | top users | synonyms

2
votes
0answers
279 views

Friction due to gravity in an impulse based physics engine

In my physics engine, I'm using impulses to solve collisions. I'm basing all calculations on these equations: impulse = desired_velocity_change * mass impulse = force * time friction_force <= ...
1
vote
0answers
25 views

p2.js physics engine behavior on Heightfield

I am writing a small game consisting of a 'ragdoll' character riding a skateboard. I have created a 'skateboard park' with some ramps and a jump. I am using a 'heightfield' object as the ground. ...
1
vote
0answers
72 views

Storing rigid body collision shapes in local or world coordinates

I'm writing the beginnings of a lightweight 2d rigid body engine (in javascript, as a hobby project), and i'm debating whether to store collision shapes in local or in (updated as needed) world ...
1
vote
0answers
89 views

Mobs living in the physics engine

So, yeah. Mobs (including, and indeed especially, the player), physics engine running (cannon.js), first-person perspective, fairly low-poly-count world because I'm targeting WebGL. I'm trying to ...
1
vote
0answers
469 views

Joint constraints in PhysX

I'm trying to use PhysX for my physics engine. I'd like to use spherical joints, but I'm having trouble with the constraints. All of the examples that I've found refer to SDK v2.8. I'd like to ...
0
votes
0answers
11 views

Impulse resolution with varying time delta

I thought I'd try building a basic 2D physics engine, and I'm currently writing the impulse resolution part of it (yeah, not very far into this). Using quick internet tutorials like this as a guide, ...
0
votes
0answers
16 views

How to tell if the ball is on the floor (in nape)?

What I wish to do in pseudo code: points = Get the set of all points (x, y) where the ball is touching other surfaces. point = Get the point out of that set with the minimal (y) value. Check if that ...
0
votes
0answers
36 views

Calculation technique for 2D inertia tensors?

Just wondering what the techniques are out there. It's only 2D so I figured there'd be a good chance for there to be a "one size fits all" solution out there that's essentially an analytical solution. ...