CoderzHeaven

Heaven of all working Codes

How to remove forces applied in Box2D bodies ?

Hi,

For removing the forces applied to your Box2D bodies, use the following line of code.

yourWorld->ClearForces();

Here ‘yourWorld’ is the your box2D world.
:)

More Similar Posts

  • Removing Forces From Your World in Box2D Cocos2D
  • How to prevent collision between connected bodies in Box2D ?
  • How to make Non Colliding bodies in Box2D ?
  • Destroying Box2D Physics Bodies in Corona SDK
  • Collision Detection In Box2D – Using With Cocos2D
  • How to remove box2D body from world ?
  • How to make static/non rotating bodies in Box2D ?
  • How to make gear joint in Box2D, iPhone?
  • How to know whether your b2Body is moving or not in Box2D ?
  • Simulate a Balloon in Box2D, iPhone or ANDROID
  • Box2D
  • How will you check whether you have touched a body in Box2D?
  • How to move a body manually in Box2D? or Give a force to a…
  • Identifying sprite associated with a particular body in…
  • Collision detection in Box2D
  • Create a polygon in Flash or Adobe AIR using Box2D.
  • Removing Unused Textures in Cocos2D
  • How to rotate a body manually in Box2D?
  • Remove unwanted memory from iPhone….
  • How to play music in cocos2D or Box2D, iPhone?
Link to this post!

Hits Since 2013

hit counter

Categories

  • Accelerometer (2)
  • ActionBars (4)
  • Adobe_AIR/FLEX (39)
  • Amazon (2)
  • ANDROID (359)
  • Android Application Review (1)
  • Animation (9)
  • App Review (1)
  • Apple (8)
  • Applet (3)
  • Arrays (2)
  • ASP.NET (30)
  • BlackBerry (2)
  • Blogger/Blogspot (4)
  • Box2D (51)
  • C & C++ (11)
  • C#.NET (30)
  • Camera (2)
  • CheckBox (2)
  • Cocos2D (65)
  • Contacts (4)
  • Controls (2)
  • Core Java (5)
  • Corona SDK (23)
  • CoverFlow (1)
  • Decrypt String (1)
  • Download File (4)
  • Downloading files (5)
  • EditText (2)
  • Encrypt (2)
  • Facebook (3)
  • Files (4)
  • Files (4)
  • Fixes (13)
  • Force Close (1)
  • Fragment (3)
  • Fragments (3)
  • Fun Games (1)
  • Gallery (3)
  • Games (3)
  • GirdView (3)
  • Gmail (5)
  • Google (13)
  • Google Maps (2)
  • Google Maps (2)
  • Google Plus (8)
  • GPS (3)
  • Graphics (1)
  • Hardware Buttons (2)
  • HTC (3)
  • HTML (3)
  • HTML and CSS (2)
  • Image (2)
  • Image (3)
  • Interfaces (1)
  • Interview Questions (2)
  • iPad Application Review (1)
  • iPhone (97)
  • iPhone Application Review (2)
  • Java (10)
  • JavaScript (10)
  • JellyBean (2)
  • jQuery (5)
  • Layouts (2)
  • Lazy ListView (2)
  • Lists (2)
  • ListView (8)
  • Lua (10)
  • Mac (27)
  • Math (2)
  • Memory (2)
  • MicroMax (1)
  • Microsoft (4)
  • MySpace (2)
  • NDK (3)
  • Network (1)
  • Notifications (4)
  • Objective-C (81)
  • Objects (2)
  • PhoneGap (2)
  • PHP (4)
  • Php Connection Android (2)
  • PHP-MYSQL Connections (3)
  • ProgressBar (2)
  • Reflections (1)
  • Samsung (11)
  • SDCARD (4)
  • SeekBar (2)
  • Serialization (2)
  • Serialization (2)
  • Services (2)
  • SONY (2)
  • SONY ERICSSON (3)
  • Spinner (1)
  • SQL (3)
  • SQLite (5)
  • String (2)
  • Styles (2)
  • Swing (8)
  • Tips (2)
  • Titanium (8)
  • Toggle Button (2)
  • Twitter (3)
  • Uncategorized (1)
  • Uploaing a File (3)
  • Uploaing a File (8)
  • VB.NET (1)
  • Video (2)
  • Video (2)
  • Web (1)
  • Webbrowser (2)
  • Webservices (1)
  • Widget (2)
  • Widgets (2)
  • Windows (7)
  • Windows Phone (11)
  • Wordpress (2)
  • Xcode (2)
  • XML (3)

Posts on

  • May 2013 (9)
  • April 2013 (10)
  • March 2013 (14)
  • February 2013 (12)
  • January 2013 (4)
  • December 2012 (13)
  • November 2012 (4)
  • October 2012 (5)
  • September 2012 (12)
  • August 2012 (8)
  • July 2012 (7)
  • June 2012 (17)
  • May 2012 (27)
  • April 2012 (52)
  • March 2012 (30)
  • February 2012 (26)
  • January 2012 (21)
  • December 2011 (18)
  • November 2011 (13)
  • October 2011 (8)
  • September 2011 (6)
  • August 2011 (18)
  • July 2011 (28)
  • June 2011 (34)
  • May 2011 (28)
  • April 2011 (54)
  • March 2011 (72)
  • February 2011 (47)
  • January 2011 (11)
  • December 2010 (15)
  • October 2010 (12)
  • September 2010 (5)

Tags

activity ANDROID Apple background class Code Java coderzheaven emulator Exception File Java function Google HELLO Hello Everyone id images Import Java iphone java Java Code Java File Java Java Java Package Java Util Lt Lt Xml Main String new Objective-C onCreate Orientation Png Public Void Quot Quot Quot Res setContentView show String TextView Toast Utf 8 Widget XML Xmlns

Find CoderzHeaven on Google Plus

Subscribe to Coderzheaven feeds

Subscribe to Coderzheaven's feed

Copyright © CoderzHeaven | Sitemap