Most voted "physics" questions
Questions regarding real-world physics and how it can be simulated and implemented in programming.
Learn more…6 questions
Sort by count of
-
62
votes4
answers2243
viewsHow do I implement wind in a trajectory equation?
Has a game of tank 2D, using the Unityengine in C#, in which it is played on the side of the screen, seeing only the sides of the tanks, in which has the green and red tank. The green need to shoot…
-
8
votes1
answer276
viewsCHALLENGE: Algorithm for updating rectilinear motion uniformly varied aiming inertia at a certain end point
Question I want an algorithm that updates (from an instant to another, with a certain time interval between the two) a uniformly varied movement aiming at a final value making the fastest possible…
-
3
votes2
answers104
viewsJava2d time-based drive
I’m trying to move an object using Java2d but I’m having some problems, I have following method: public void logics() throws Exception{ before = System.nanoTime(); loop.logics(diff); after =…
-
3
votes1
answer1337
viewsHow to move and rotate where the mouse click is?
I created a script in which my character moves through click of mouse but there’s a problem: it’s not spinning in position Y, this is the condition I had to create for it to Rotacione on the axis X:…
-
1
votes0
answers69
viewsRepulsion method based on Helbing model
I’m developing a crowd simulator following Helbing’s Social Forces model, only I’m having a problem at the moment of the collision between agents. When the collision occurs the repulsion method is…
-
-3
votes1
answer50
viewscollision response between circles is not working in javascript
I’m trying to implement the equations for the two-circle collision response in a program of mine, but all of them either made the ball speed incredibly high or only works 50% of the time (in the…