Game Development Reference
To set this up, create a LuaForceGenerator in C++ that can call Lua code. The
RigidBody classwillneedsits addForce and addTorque methods exposed via a table to
Lua so the code can then affect the rigid body when it has completed its calculation.
Lua is remarkably quick, easily fast enough to be called a few times each frame in