Game Development Community

Dynamic gravity question

by GarageGamer · in Torque Game Engine · 11/20/2006 (7:53 pm) · 2 replies

Is there a reason the dynamic gravity modification explained here:
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=1723

would not work with the latest version of the SDK?

I implemented it easily in an older version. But now, even though I managed to incorporate it into the new engine, and was able to compile without a problem. When I try to use it, I get an error message saying setGravity is an unknown command.

Any ideas?

#1
11/21/2006 (8:08 am)
Did you integrate it properly especially the Con::addCommand bits?
#2
11/21/2006 (11:59 am)
At first I didn't, because as shown here:
http://www.garagegames.com/mg/forums/result.thread.php?qt=13761

Con::addCommand is obsolete

However, after your post, I tried it the old way, got it to compile, and it still doesn't work