30 reputation
4
bio website
location
age
visits member for 1 year, 11 months
seen Sep 20 '12 at 5:21

Jul
29
awarded  Popular Question
Sep
5
comment Can i add friction in air?
But player is a dynamic body and which is define in your code as yourBall but what about bodyB??
Sep
5
accepted Can i add friction in air?
Sep
5
comment Can i add friction in air?
This code is apply in update method of HelloWorldLayer.mm?? I show you my code of jump and movement of player
Sep
5
awarded  Commentator
Sep
5
comment Can i add friction in air?
Yes i am trying ballBody->SetLinearDamping(1.2f); but can not see any effect.
Sep
5
comment Can i add friction in air?
How to add friction joint and which anchor point i have to set to zero??
Sep
5
asked Can i add friction in air?
Sep
5
comment Confusing box2d forces
But sir how can i set maxspeed??
Sep
3
comment Confusing box2d forces
if (moveRight.active==YES) { ballBody->SetActive(true); b2Vec2 locationworld=b2Vec2(10,0); //b2Vec2 force=b2Vec2(1.0,0); double mass=ballBody->GetMass(); // ballBody->SetLinearVelocity(locationworld); // ballBody->ApplyLinearImpulse(mass*locationworld, ballBody->GetWorldCenter()); ballBody->ApplyForce(mass*locationworld, ballBody->GetWorldCenter()); // ballBody->SetLinearDamping(1.2f); NSLog(@"Speed Of Velocity Right: %f",ballBody->GetLinearVelocity().x); }
Sep
3
accepted Confusing box2d forces
Sep
3
comment Confusing box2d forces
How to set maximum speed for player??
Sep
3
answered Confusing box2d forces
Sep
3
comment Confusing box2d forces
Okay.My question is when i press jump button player jump perfectly but at jump player goes in air for some second at that time move buttons press so speed of player is increase suddenly and player looks like running on air
Sep
3
comment Confusing box2d forces
please help me...
Sep
3
comment Confusing box2d forces
Sorry but issue of jump is solved.But another issue is when player jump using impuls and movement is done using force so when player jump at simultaneously movement perform that time movement of player is gone high. what to do to resolve this speed??
Sep
3
comment Confusing box2d forces
I have another issue regarding your answer.How to limit the maximum velocity?? How can i use damping for limit jump??
Sep
3
awarded  Scholar
Sep
3
comment Confusing box2d forces
Thanks mikael i am using linearImpuls fr jumping and force for movement left-right and for stoping friction used. But i have one problem in jumping when i press jump button once it jumps at that time i press jump button 2nd time it jump continuos but i don't want to do that. I want when player touch floor or wall or point that time jump will perform. How can i do this?? Sorry for poor english
Sep
1
asked Creating multiple fixtures in one body