Game Development Community

Deformation / cutting

by Daniel Roden · in Torque Game Engine · 09/03/2006 (7:45 pm) · 2 replies

Any resources or guides to deforming / tunneling / cutting objects into pieces using torque?
I looked around but everything i found was for terrain generation...
Thanks,

Dan

#1
09/03/2006 (9:09 pm)
You would need to define the way you want to cut or deform inside the shape itself. I think it would be difficult to cut a mesh up and create another mesh that is now another object. You might be able to have the objects predefined and have it "break" apart. I think you would create new objects and destroy the original when you do this. Then these objects would now be their own object.
#2
09/04/2006 (12:25 pm)
Can i deform objects in torque by manipulating the vertices directly?
wouldnt it just be a matter of winding throught the verticies of each seperate part and creating a new mesh based on that? are there resources on this or can you direct me to aplace to start (a few function calls or what not)?
Thanks,

Dan