physics
Framerate independent acceleration
So I understand that, to get frame rate independent movement I have to multiply the base speed by (1000/delta). It works on values that represent speed, but when I try this with an acceleration variab[详细]
2023-02-15 20:43 分类:问答Calculating Event Horizons in Ruby
this is my first post here. I started using Ruby just 2 days ago and think it is an amazing language, however I have been getting stuck. My p开发者_如何学编程roblem is I am wanting to calculate the ev[详细]
2023-02-15 13:47 分类:问答2D Game Actor coordinates vs screen coordinates
I\'m developing a game in XNA which uses the Farseer physics engine, essentially a 2d platformer.I\'m having trouble resolving the method of drawing sprites vs my desired units for the physics engine.[详细]
2023-02-15 00:47 分类:问答How to create a rotation based Impulse Vector (Cocos2d, Chipmunk, Spacemanager)
So im trying to create character with two jetpacks - either of which can be fired independently of one another to create an impulse offset from the center of gravity (Using Cocos2d, Chipmunk, and Spac[详细]
2023-02-14 17:02 分类:问答2D distance constraint
I\'ve been trying everything to get a 2D distance joint working in Unity. I want free rotation to both the body with the joint and the connected body, I also need mass and other constraints adhered to[详细]
2023-02-13 07:13 分类:问答Combining two potentials in python
So I need to define the potential in python. I have infinite square well potential, and it has, in the middle the potential barrier.[详细]
2023-02-12 23:20 分类:问答How to find time and speed using iPhone's accelorometer
Let me tell you my physics is very bad. I want to calculate time between two points. The situation here is - if an object is moved from say point x to point y with an acceleration which is not constan[详细]
2023-02-12 21:33 分类:问答Algorithm to control acceleration until a position is reached
I have a point that moves (in one dimension), and I need it to move smoothly. So I think that it\'s velocity has to be a continuous function and I need to control the acceleration and then calculate i[详细]
2023-02-12 21:28 分类:问答Simulating a Ball Rolling Down a Slope - HTML5 Canvas JavaScript
How can I simulate a ball rolling开发者_开发知识库 down a given slope using HTML5 canvas and JavaScript? Can someone provide code as to how to do this?This might not be exactly what you\'re looking fo[详细]
2023-02-11 19:16 分类:问答2d Ball Collision Problem: no conservation of energy
I am trying to write a simple physics simulation where balls with varying radii and masses bounce around in a perfectly elastic and frictionless environment. I wrote my own code following this resourc[详细]
2023-02-11 04:08 分类:问答