Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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 match those due to a legged creature.

For example, legged creatures near-instantly accelerate to their top speed; whereas applying a force to a box takes time to accelerate it.

The applied force can be increased along with the counteracting drag, giving much quicker acceleration (via force) to a max speed (via drag). However, this also means the force that creatures can exert when pushing on other objects is increased.

Does anyone know of any techniques using a physics engine to cheaply model walking creatures?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

High movement impulse, with high drag, will work perfectly. For collisions, you don't use the force that is being applied for movement in the collision calculation, you use the resulting speed, mass, elasticity, etc.

share|improve this answer
1  
Come to think of it, that's actually how real physics work. –  Nevermind Feb 25 '11 at 5:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.