Game Development Community

Can you draw a quad from script and specify texture coordinates?

by John Klimek · in Torque Game Builder · 03/28/2007 (1:29 pm) · 1 replies

Two questions regarding quads and TorqueScript.

1) Can I draw a textured quad from TorqueScript and specify points for each vertex?

2) Can I draw a textured quad from TorqueScript and specify texture coordinates?

I'd like to draw a bunch of quads that are pieces of a large image, but every quad will not be square/rectangle...

Thanks,
John

#1
03/29/2007 (5:13 pm)
Nope, unfortunately. Would be pretty easy to add if you have the source, though it would probably break some stuff (like collision)...