Force driven cog graph physics engine