Skip to content

Commit 11ab841

Browse files
ArsThaumaturgisrdb
authored andcommitted
C++ Examples: Start with delta-time-only approach, before sub-step approach (#157)
1 parent 19a1d5c commit 11ab841

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
@@ -80,7 +80,7 @@ value to the :meth:`~.BulletWorld.do_physics()` method.
8080
framework.get_task_mgr().add("update", [=](AsyncTask *task) {
8181
// Get dt and apply to do_physics(float, int, int);
8282
ClockObject *clock = ClockObject::get_global_clock();
83-
world->do_physics(clock->get_dt(), 10, 1.0 / 180.0);
83+
world->do_physics(clock->get_dt());
8484
8585
return AsyncTask::DS_cont;
8686
});

0 commit comments

Comments
 (0)