Product not found

Game Development Community

Implementing Soft Body Physics in Torque Game Engine

by Aidan Sliney · in Torque Game Engine · 01/20/2009 (12:14 pm) · 4 replies

I'm hoping to create a plugin that will simulate soft body physics/deformable objects in TGE. I'm using a Finite Element Method implementation which takes a meshed object as a text file, calculates the deformation and outputs the result as a text tile. My challenge is to implement this in Torque but can .dts objects be manipulated as text files? Is it possible?

Would appreciate any comments

#1
01/23/2009 (2:02 pm)
I would recommend looking at the fxRenderObject code and the 3DS object resource. Even though there is a memory leak in the 3DS resource as written, it will give you a good idea of how to implement a new renderable meshtype.
#2
01/24/2009 (6:57 am)
Will do. Thanks
#3
01/24/2009 (10:59 am)
I'm also going to attempt this in the future, though probably not the way you're doing it. I don't need full soft-bodies so much as limited cloth and rope dynamics, though.
#4
02/03/2009 (8:13 am)
http://www.garagegames.com/community/resources/view/8942

Try this for Cloth physics