Repeating a request for insight into the Corona physics. (please see post of Mon, 2011-05-09 16:55). An understanding of the units used in the force, impulse, and gravitational functions is needed. The force function behaves differently for the two frame rates (30 and 60). Similarly, the gravitational force varies slightly with frame rate. Although these may not be crucial for some game features, knowledge of these function is critical for others. I trust it is is not asking too much that these nitty gritty characteristics (gravity, force, and impulse functions) be shared(?) Thanks in advance, Ladies and Gents, from a grateful subscriber! [import]uid: 11421 topic_id: 9916 reply_id: 309916[/import]
The physics engine is the ultra-well-known box2d. The first thing you (and every corona member) should do is read box2d manual. [import]uid: 51516 topic_id: 9916 reply_id: 36137[/import]
Much obliged, Seth. Will check it out.
[import]uid: 11421 topic_id: 9916 reply_id: 36145[/import]
Nothing in http://www.box2d.org/manual.html that answers the question on the value (and physical units) that go into these Corona force and impulse functions. The referenced manual appears to be for C++ developers and indicates the approach to defining animation based on these C++ “manual” definitions. So, what’s missing (unless I’m missing the point - which could well be!) is info which would reveal these Corona values. In particular, it’s obvious that the force function is applied over a time interval. What time interval and how does it compare, for example, to the time interval that creates the energy for the impulse spec (Kg - m^2/sec^2), (Kg - pixel^2/frameInterval^2), … ? We appreciate some info on this - or another more informative link if such is available. Thanks. [import]uid: 11421 topic_id: 9916 reply_id: 36158[/import]