Does anyone know how to set the mass of an object in the Physics simulation? I don’t see a usable function anywhere. [import]uid: 86662 topic_id: 15211 reply_id: 315211[/import]
The documentation says:
“density is multiplied by the area of the body’s shape to determine its mass”
Find it at:
http://developer.anscamobile.com/content/game-edition-physics-bodies#physics.addBody
I’m sure that I recently saw someone provide a listing which calculates the mass of an object, however if I can’t find it I may well write one myself… [import]uid: 8271 topic_id: 15211 reply_id: 71884[/import]