Game Development Community

Grid or object snapping in torque

by Andrew Locko · in Torque Game Engine · 10/13/2004 (11:29 am) · 4 replies

Is there a way to turn on collision for a .dif file so that objects with collision can be moved flush up against other objects within Torque? Its time consuming having to manually move/ rotate objects in place with no sort of snapping options within Torque.

#2
10/13/2004 (12:33 pm)
Cool, that might help. How bout snapping to objects (i.e. snapping to various objects so that there aren't any seams). Is there something similar to what MAX has in terms of object snapping? Thanks for your reply.
#3
10/13/2004 (12:35 pm)
Cool, that might help. How bout snapping to objects (i.e. snapping to various objects so that there aren't any seams). Is there something similar to what MAX has in terms of object snapping? Thanks for your reply.
#4
10/13/2004 (7:33 pm)
As David appended above, the snap-to resource might be what you're looking for; it snaps objects to objects. In the comments I had a great conversation with myself and basically wrote a new resource that adds upon the original work and fixes some rotational problems, but it requires a very small change to the source code. There are also a bunch of additional utility functions, like duplicate-and-align in one keypress.

There are still some problems with stuff rotated at wild multi-angles, and it doesn't account for scaled items unfortunately, but for the most part it is a huge timesaver.