{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiamgkgjwzuhnqnnaph3davh72w6f6yc6tiuhprzcpu3kkoh2qutva",
"uri": "at://did:plc:dxjzgxe7cvirxkwfjr2tjspt/app.bsky.feed.post/3mp775c4el632"
},
"path": "/t/applycentralforce-in-simpleupdate-or-prephysicstick/49630#post_3",
"publishedAt": "2026-06-25T06:13:55.000Z",
"site": "https://hub.jmonkeyengine.org",
"tags": [
"wiki.jmonkeyengine.org",
"jMonkeyEngine Docs"
],
"textContent": "The demo is the one included in the SDK. Rolling the Monkey.\n\nThe manual, I mean the jMonkey docs, and some things such as the one on PhysicsTickListeners.\n\nwiki.jmonkeyengine.org\n\n### jMonkeyEngine Docs\n\nPhysics Listeners\n\nIt says:\n\n“When you write game mechanics that apply forces, you must implement a tick listener (com.jme3.bullet.PhysicsTickListener) for it. The tick listener makes certain the forces are not dropped, but applied in time for the next physics tick”\n\nThen\n\n * `prePhysicsTick(PhysicsSpace space, float tpf)` is called before each step, here you apply forces (change the state).\n\n\n\nWhile I used the Minie documentation, I don’t remember seeing anything on the ticklistener in that one. I tried to search it now, but the only thing I found that the **ForceDemo.java** the force updates are in the tick listener.",
"title": "applyCentralForce() in simpleUpdate or prePhysicsTick"
}