Shapebase.cc
by MichaelDom · in iTorque 2D · 09/08/2010 (2:05 pm) · 3 replies
I'm trying to modify this source file but can't seem to find it. Has it be moved? or is it not in iTorque? I'm following this resource http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=1723
I would appreciate any help.
I would appreciate any help.
#2
09/08/2010 (2:54 pm)
Ah ok thanks. Then that tutorial can't be used with iTorqued 2D... so how does one simulate gravity in iTorque 2D; currently I'm applying constant forces on my objects for the Y axis, but that creates an odd problem where they will sometimes not stop shaking when they hit the floor. NOTE I have them all on the ever troubling rigid mode.
#3
09/08/2010 (9:30 pm)
the way you do it is exactly the way you would likely do it just that you add a "is grounded" state, so when it hits ground below it, it will set that to true and while its true you don't apply gravity
Torque 3D Owner Marc Dreamora Schaerer
Gayasoft