{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreihhnfuo5emiop5feukl7p4htemvixdzj3pagcwncpyq47me7cjmgi",
    "uri": "at://did:plc:dxjzgxe7cvirxkwfjr2tjspt/app.bsky.feed.post/3mp7ntuuvv732"
  },
  "path": "/t/applycentralforce-in-simpleupdate-or-prephysicstick/49630#post_4",
  "publishedAt": "2026-06-26T04:22:42.000Z",
  "site": "https://hub.jmonkeyengine.org",
  "textContent": "Best practice is to apply forces before each physics step, not in `simpleUpdate()`.\n\nI looked at the source code of RollingTheMonkey and did some playtesting, but unfortunately I don’t yet understand what’s going on. The app seems equally playable over a wide range of frame rates (30-9000 fps), which is not what I’d expect from reading the code. Since it’s presented as an example, it should probably be re-written to follow best practices. But first I’d like to understand why it works at all. This may take a while.\n\nI’m also unsure of the exact semantics of `applyCentralForce()`. The javadoc seems clear, but I’m having trouble reconciling the javadoc with the source code.",
  "title": "applyCentralForce() in simpleUpdate or prePhysicsTick"
}