physics

Pendulum with moving pivot

I'm making a game which you can see here, if you are on Windows or Linux: http://insertnamehere.org/birdsofprey/ If you click and hold your mouse on a bird, you can see I'm just swinging the bird back and forth in pendulum motion. I would like to, instead, implement a more realistic motion, where the movement of your mouse affects the s...

Algorithm to animate a page flip in 3D?

I would like to make a realisticly looking page flip animation. It does not have to be a true physical model, as long as it looks convincing. Many shops have flash animations of their real-world brochures but I don't find them convincing. The page does not bend realistic, lighting is not correct, etc. I will be happy with any links des...

What are the best engines for a 2D indie game?

Just like i asked in the title? What are the best engines for a (small) indie game? I am interested in infos about how much does it take to familiarize with the engine, special functions et cetera. In addition, I would like to know what physics engine I should use for this type of game. Thanks in advance:D ...

instantly sleeping stack of dynamic objects

My scene has a number of stacks of dynamic objects. When the simulation starts, it takes a while for these to "resolve" before they become sleeping islands. This affects performance significantly for the first few seconds. Are there techniques for arranging stacks so that they immediately sleep? I'm using PhysX. ...

How to simulate a harmonic oscillator driven by a given signal (not driven by sine wave)

I've got a table of values telling me how the signal level changes over time and I want to simulate a harmonic oscillator driven by this signal. It does not matter if the simulation is not 100% accurate. I know the frequency of the oscillator. I found lots of formulas but they all use a sine wave as driver. ...

Simulating Ocean Water, need to compute complicated values.

Simulating Ocean Water: http://www.finelightvisualtechnology.com/docs/coursenotes2004.pdf I'm trying to simulate ocean and I need your help. Please be patient, I'm newbie to computer graphics but I know basics of physics and mathematics. As you can see I need to compute the formula: k is a vector, x is a coordinate (so I suggest that...

About the physics engine

is there any physics engine available for j2me as it is for symbian,iphone etc please send me the link or another source from where i can get the same reply asap. Thanks in advance everyone ...

Physics with JOGL (Java, OpenGL)

I'm doing a little project to teach myself about JOGL. Some of my ideas would be easier with a physics engine. Is there a 3D physics engine that's particularly good, or is commonly used with JOGL? ...

Best games/physics engines to use?

Hi there Looking for games/physics engines to use for mobile game development. iPhone there is Cocos2D Android I've found RokonAndroid Just wondering if there are any others (better ones) that anyone knows of? Or any that are more cross-compatible? Thanks Tom ...

Play the sound that an oscillation/vibration would make

First of all, sorry. I don't know how all the Physics terms are named in English. I have an oscillation: for each moment of time t, I have the x (this should have some name, but I don't know it) I need to play the sound of this oscillation (output to speakers). Cross-platform C++ (or Qt) solution is preferred, solution for Windows is a...

Help with symplectic integrators

I'm trying to develop a physics simulation and I want to implement a fourth-order symplectic integration method. The problem is that I must be getting the math wrong, since my simulation is not working at all when using the symplectic integrator (as compared to a fourth-order Runge-Kutta integrator that works reasonably well for the simu...

How to handle ball to ball collision with trigonometry instead of vectors?

I am making a simplified version of the ball physics app found at this SO question. I gained a lot from reading through the code and links provided at that question, but in my program I do not use vectors, I just update the coordinates of my balls (each of which has a random angle and speed) with trigonometry functions when they hit the...

Calcuate x/y point that 2 moving balls will collide

Im trying to make what is (essentially) a simple pool game, and would like to be able to predict where a shot will go once it hits another ball. The first part is, I believe, to calculate if the cueball will hit anything, and if it does, where it collides. I can work out collision points for a line and a ball, but not 2 balls. So given...

Conceptual iPhone 2d game dev question. Quartz? Cocos2d? Chipmunk? Box2d?

Hello, I am new to iPhone dev and would like to write a game that involves 2d collisions. Would somebody give me a conceptual overview on how the various frameworks interact in a typical 2d collision game? The candidates I see mentioned so far are 2d packages such as quartz and cocos2d and physics engines such as chipmunk and box2d. Wh...

Open source, pure Java physics / dynamics library

I'm looking for a lightweight, pure Java physics engine to do some simulations for robotic motion control. My requirements: Rigid body physics Joint constraints and forces Convex object collision detection Lightweight, pure Java so it can be embedded in my application Ability to run simulations quickly Handles 50-100 objects comforta...

Which technology would you use for Physics Simulations SVG or Canvas?

I'm starting a new project converting physics simulations(created in Adobe Director) to a more current platform namely html5 canvas or SVG. I would like to avoid Flash for a few reasons. I'm looking for recommendations and reasons why either canvas or SVG would fit this project best. I have read that SVG is better for interactivity which...

How do you simulate a conveyor in bullet physics engine?

I am writing a simulation in which we need some boxes to be fairly accurately modeled as they move on a set of conveyors. Currently we detect if the box is colliding with the static conveyor surface and apply an impulse to each box according to what the conveyor speed is supposed to be. Is there a way to make the actual conveyor surface...

Movement in native Android development?

Yo guys, I'm trying to get into native android development coming from an Actionscript 3.0 background. My question is: what is the standard convention for creating basic movement in Android? By movement I mean a 2D graphic moving across the screen for instance. Is it by using timers to fire a general update() method? I have seen some...

What's the best language for physics modeling?

I've been out of the modeling biz, so to speak, for a while now. When I was in college, most of the models I worked with were written in FORTRAN, which I never liked. I'm looking to get back into science, so I'm wondering if there are modern languages with feature sets suited for this kind of application. What would you consider to be an...

Source code needed for calculating quaternions

I have gyroscope + accelerometer data at each time period T. I want to calculate the rotation of the object at each time - it can rotate on its axises. So I've read that it is convenient to represent the rotation of the system in terms of quaternions (not in Euler angles). Is there any source code that can transform from angular veloci...