Box2D Forums

It is currently Mon May 20, 2013 3:05 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat Jul 07, 2012 7:42 pm 
Offline

Joined: Thu May 03, 2012 3:08 am
Posts: 5
Hello everyone,

Walking:

void postStep ()
{
b2Vec2 tangentMove (underfood.normal.y,-underfood.normal.x);
b2Vec2 force = tangentMove;
force * = forceMove * underfood.friction;
pedestrian-> ApplyForce (force, underfood.point);
garbage-> ApplyForce (-force, underfood.point);
}

With this approach, if the object under the naga is very light, it flies with a very high speed .....

I would like to ask how you can most accurately take into account the repulsion of objects under the feet when walking?

Jump:

If you make jump the aid of a prismatic connection of two bodies, the jump can be carrying a very slow and hard to manageable ....

With the use of force, or momentum problems (which mashtabney) as when walking ....

As the influence of impulses or forces to make one body korektno jump, with the impact?

on this issue, I do not ask for ready-made solutions, but only a hint in the right direction

P.S. I may be poorly formulated question, because of the difficulties of translation
If you write an answer, please, without slang


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group