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

1
vote
1answer
100 views

Applying angular velocity to quaternion

I am reading Game Physics Engine Development by Ian Millington currently. In his book, he represent an orientation of rigid body by quaternion. I don't understand the formula where he apply angular ...
2
votes
0answers
136 views

Cloth effect to boned model for XNA

I'm currently working in virtual dressing project using kinect. I'm using a dress model with bone created in blender and added that to xna, placed on the customer and controlled the product movements ...
2
votes
0answers
412 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
19 views

How can I create click and drag for a 3D Jenga game in Unity?

Essentially, I am trying to create a game that mimics Jenga. Right now I have made it so that the blocks collide with each other and have gravity, everything works very well. The one thing that I am ...
1
vote
0answers
19 views

How would joints work in an impulse-based physics engine?

I want to learn about physics engines, especially impulse-based ones. So I've followed along this tutorial to create some simple rigid-body physics: http://gamedevelopment.tutsplus.com/tutorials/how-...
1
vote
0answers
23 views

Integration of Game Loop + Physic Engine : when to delete objects?

How to manage code around physic engine, when a game object should be deleted? I will use a tiny game as an example:- 1st iteration of development I have a very simple game with 1 character (Jumper)...
1
vote
0answers
70 views

2D Platform physics system with deltaTime

I'm implementing my physics handler in my own 2D "Platform" game. My main problem is that when the timestep ( deltaTime ) changes, maybe to some tiny lag spike or something like that, the running ...
1
vote
0answers
83 views

Bullet Physics: Applying a force at the point of collision

Suppose I want to simulate some kind of gripper with two "fingers" (such as pair of pliers, or two-fingered robot hand), picking up an object from the ground. Both the gripper and the object are ...
1
vote
0answers
61 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

Where are the parameters to APEX destructible asset / actor documented?

The NxDestructibleAsset has parameters such as defaultBehaviorGroup.damageToRadius destructibleParameters.fractureImpulseScale p3BodyDescTemplate.density structureSettings.useStressSolver ...
1
vote
0answers
163 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
123 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
620 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
17 views

Phaser P2: Sprite has movement after body.reset()

I've got a side scroller game and a sprite as player char. It can collide with enemies and dies instantly. So when I reset the game to play again, the player char has sometimes a velocity, and I don't ...
0
votes
0answers
24 views

Bullet Physics: 2dArray into Collisionshape

I'm fairly new to bullet physics and I am wondering how to make a collisionshape out of an 2dArray(x,y) with height informations. I figured out I have to use either btBvhTriangleMeshShape or ...
0
votes
0answers
18 views

btCompoundShape representation of a table not functioning normally

I've been working on a small "game" on the side to develop my game programming knowledge. I put game in quotations because there's really no objective, it's basically just a room filled with tables ...
0
votes
0answers
63 views

Weird Collisions in ODE

I'm trying to get a basic OBB/OBB Collision System working. For this I use ODE. My problem is: Whenever I use the dSpaceCollide and pass in my Space and my Callback, my Callback shows me, that a ...
0
votes
0answers
52 views

JBullet is acting weird, what is causing these 'floating' rigidbodies?

I've been working on a 3D game engine in Java for a school project. The game engine had scenes containing game objects, these game objects contain components defining the behavior of each object. I'm ...
0
votes
0answers
35 views

Detecting collision between 2 convex meshes in 3D

For the past couple of weeks I've been trying to implement physics in my engine, and I am currently stuck on the collision detection phase. In short, I can perform a triangle-triangle intersection ...
0
votes
0answers
7 views

scaling ccsprite and ccphysicsbody

The player which is scaled down (after few seconds as game progresses) but its associate body is not being scaled down. I have create a Player object with SpriteBuilder with following details:\ ...
0
votes
0answers
73 views

Endless sidescrolling skating spritekit game

I am developing an endless side scrolling game in spritekit. For parallax background scroll : - (void) update:(NSTimeInterval)currentTime { [self.children enumerateObjectsUsingBlock:^(SKNode * ...
0
votes
0answers
150 views

Cocos2d-x 3.7 PhysicsBody velocity issue

i have a Sprite with physicsBody,and fixed velocity,the problem is the sprite is not renderd smoothly with the mouvement,it's look like zigzaging forward and backward with a tiny fixed offset,but keep ...
0
votes
0answers
48 views

Which Box2D-like physics engine parameters need pixel conversion?

The official guide does not have any useful details on the matter: http://www.box2d.org/manual.html Position is an obvious one. What about velocity? Density? Anything else? Update: the context is ...
0
votes
0answers
118 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. ...