Skip to content

Commit ca55be4

Browse files
C++ Examples: Start with delta-time-only approach, before sub-step approach (#157)
1 parent 491d4ad commit ca55be4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

programming/physics/bullet/hello-world.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ value to the ``do_physics()`` method.
8181
AsyncTask::DoneStatus update_scene(GenericAsyncTask* task, void* data) {
8282
// Get dt (from Python example) and apply to do_physics(float, int, int);
8383
ClockObject *co = ClockObject::get_global_clock();
84-
physics_world->do_physics(co->get_dt(), 10, 1.0 / 180.0);
84+
physics_world->do_physics(co->get_dt());
8585
8686
return AsyncTask::DS_cont;
8787
}

0 commit comments

Comments
 (0)