1
vote
0answers
86 views

Conceptual - What is the optimal way to combine steering behaviors with rigid body physics?

I am working on a simple 3D space simulator that makes use of the Bullet physics engine. The spaceships are rigid bodies that have a mass and hitbox so that they can be considered for collisions. At ...
2
votes
1answer
171 views

3D-Physics of a Rubber Ball (Squash)

I'm trying to simulate the environment on a Squash Court on Android with my own physics and using OpenGL for visualization. Basically, its about a rubber ball bouncing around in 3d, not just on the ...
1
vote
1answer
132 views

Ice sliding physics

I am trying to implement ice sliding physics on a plane for my game. There are a lot of N64 games that implemented them perfectly well, like Banjo-Kazooie, Super Mario 64, Zelda: OoT and MM, etc. ...
1
vote
1answer
84 views

Creating a vehicle using a physics engine [closed]

What is the theory behind creating a generic 3D vehicle in a physics engine? What I would like to know is what parts should I stick together to make the vehicle, how they parts should stick together, ...
2
votes
2answers
351 views

Canting of track in a racing game

I am trying to create a small racing game in which the track would be modeled using a BSpline curve for the path's center line and directional vectors to define the canting of the track at each point. ...
1
vote
2answers
261 views

Jump without bouncing in physics engine

I am using Ogre3D as my rendering API, and OgreBullet as my physics engine. I have an test entity that when the y part of the velocity is 0 and spacebar is pressed, the velocity changes to, lets say: ...
2
votes
2answers
218 views

How do I find realistic 3D paths for stable and unstable flying rockets?

I am building a 3D application that simulates launching small rockets. I want to draw their trajectories. I know that rockets have a degree of stability. I want to include this in the simulation, but ...
2
votes
2answers
604 views

What is the best way to check if there is overlap between player and static, non-collidable items in bullet physic engine

I'd like to add non collidable objects (eg: power ups, items, ...) in a game world using Bullet Physics Engine and to know if there is collision between player and them. Some info : there is a lot ...
1
vote
2answers
113 views

How do I apply a force using the object direction and speed?

I have a 3D object moving and I need to be able to apply forces to it such as gravity. In 2D, I would simply store its movement in dx and dy, but since this is in 3D, I am using a Vector3D direction ...
4
votes
1answer
283 views

Techniques for displaying vehicle damage

I wonder how I can displaying vehicle damage. I am talking about a good way to show damage on screen. Which kind of models are common in games and what are the benefits of them? What is state of the ...
0
votes
3answers
1k views

collision resolve sphere-aabb and aabb-aabb

I am currently working on a basic physics engine which does not consider rotations. At the moment I work on collision resolving between aabbs and spheres. Unfortunately I have no idea what a collision ...
4
votes
1answer
736 views

Efficient physics and collision detection for RTS

I'm thinking about writing my own RTS game and while I'm more or less clear about how the game engine should work, I need some directions as to how to implement physics and collision detection. Now, ...
4
votes
3answers
1k views

Quaternion dfference + time --> angular velocity (gyroscope in physics library)

I am using Bullet Physic library to program some function, where I have difference between orientation from gyroscope given in quaternion and orientation of my object, and time between each frame in ...
0
votes
2answers
544 views

How to compute acceleration by using Kinect device joint positions

I have an application which uses the Microsoft Kinect camera device. At each point I can obtain the position of my hand in the 3 Dimensional space ( X - Y - Z ) and I want to compute acceleration of ...
3
votes
2answers
4k views

Collision detection in 3D space

I've got to write, what can be summed up as, a compelte 3D game from scratch this semester. Up untill now i have only programmed 2D games in my spare time, the transition doesn't seem tough, the ...
4
votes
2answers
316 views

Box-box contact information

I have two colliding boxes, How i can calculate contact information like (contact normal, contact point and penetration) . Is there any simple algorithm . Note: i'm using XNA .
4
votes
2answers
714 views

Simulating the effects of wind

I am developing a mobile game for Android. It is a 3D jumping game (like ski jump) where wind plays a important role so i need to simulate it. How could I achieve this? The game uses libgdx for ...
7
votes
2answers
1k views

How to resolve penetration of two colliding bodies

I've implemented simple 3D game physics engine. I already have decent collision detection in place, now I'm trying to figure out the collision response part. I'm using impulse based method to ...
0
votes
2answers
427 views

iphone 3d library with physics

are there any light 3d iphone libraries that must have: Physics ( ragdoll physics ) 3D scene graph Advanced lighting (lightmapping and stuff) Sound engine Ability to import 3D model from blender, 3d ...
0
votes
1answer
114 views

Is there a 3D animation tool that meets these requirements?

I'm searching a 3D physics / transforms animation editor. It should be able to import 3D meshes from OBJ or FBX, then it should be able to animate transforms. I need such a tool for my 3D games, where ...
3
votes
1answer
607 views

What is a CPU-efficient cloth simulation technique for a 2D game?

Are there techniques for simulation of cloth and hair in an efficient (in other words, not too CPU-intensive) manner? I only need to calculate the key points as the drawing will be done in 2D.
1
vote
4answers
1k views

Solving for velocity in the x/y/z axes?

In a 3D environment I have an object with a displacement x that I know I need to traverse in a given time interval. I have the object's heading and elevation and I want to figure out the distance the ...
11
votes
2answers
722 views

Resources of realistic water simulation?

I want to study water simulation, with a a demo with source code which using physically-based methods(Eulerian approaches or Lagrangian approaches). How can I get some examples?
5
votes
3answers
546 views

3D game on a planet

Would it be much more work to create a 3D game on a planet rather than on a flat plane? What engines would support this and what techniques would I use? An example would be a small sphere the player ...
2
votes
1answer
762 views

Converting 2D Physics to 3D

I'm new to game physics and I am trying to adapt a simple 2D ball simulation for a 3D simulation with the Java3D library. I have this problem: Two things: 1) I noted down the values generated by the ...
11
votes
3answers
519 views

Gravity strength in first person games

In our game, we set the acceleration due to gravity to the appropriate value of 9.8 m/s^2. Although physically correct, it feels more like moving around on the moon.. It feels about right at a value ...
8
votes
2answers
1k views

Physics for a 2.5D platformer with a plane that curves

I'm creating a 2.5D platformer in XNA which uses 3D models that are constrained to travelling along a 2D plane (just like Trine). To make things tricker, however, I want the 2D plane itself to be ...
3
votes
1answer
726 views

Angular Velocity

Hey, I have a particle that is hit with a force F at a particular position on the ball P. How can I calculate the angular velocity of the X,Y and Z axis? The actual rotating of the object should be ...
4
votes
4answers
950 views

Physics timestep questions

I've got a projectile working perfectly using the code below: //initialised in loading screen 60 is the FPS - projectilEposition and velocity are Vector3 types gravity = new Vector3(0, ...
2
votes
1answer
474 views

Calculate the initial velocity of a 3D trajectory

I've got a 2D projectile code sample working, but would like to extend it to 3D. How would I calculate the initial velocity of the Z-axis? At the moment, I've got: initVel.X = (float)Math.Cos(45.0); ...
3
votes
1answer
284 views

Approximating walking physics via simpler sliding physics

I am modeling walking insects. I implement them as cuboids and use forces (including friction and drag), to control motion. However, the movement characteristics of this 'sliding box' physics don't ...
0
votes
0answers
227 views

Simple project - make a 3D box tumble and fall to the ground [duplicate]

Possible Duplicate: Resources to learn programming rigid body simulation Hi guys, I want to try learning rigid-body dynamic simulation. I have done a fluid and cloth simulation before, but ...
6
votes
2answers
262 views

Self-righting agents that have fallen over

I need insect-like agents that have fallen/rolled on their back/side to naturally re-orient themselves. The agents are modeled as simple cuboids in the physics engine (Bullet) to approximate an ...
1
vote
3answers
868 views

What's the best open source physics engine to use with JOGL? [closed]

I have a past with jbullet but the existing jogl compatible sources and demos seems uncompleted. I have managed to implement it to an extent but still looking for a better documented engine with more ...
8
votes
1answer
1k views

What are the common character animation techniques used in tile based hack&slash games?

I wonder what kind of animation techniques are used for creature and character animation in modern hack&slash type tile based games? Keyframing for different actions may be one option. Skeletal ...
3
votes
3answers
1k views

Optimizing Bullet and ODE Physics on consoles and mobile phones

I'd like to use either Bullet or ODE on low powered devices (mobile and consoles), but the frame rates are below the acceptable 25-30fps for simulations. I've found that one articulated body by ...