Game Development Community

Can I place things without them passing through things?

by Wolf Dreamer · in Artist Corner · 05/02/2007 (2:32 am) · 2 replies

Any functioning code out there for Torque 1.5.1, which will allow me to place things around the map, without them passing through the terrain or each other? A collision detection that prevents things from going through one another.

Placing something, and moving it around to try to line everything up perfectly, is a lot of work if you don't have perfectly steady hands.

#1
05/02/2007 (7:14 am)
I use the numeric fields for placement when it gets to be that exact, but I'm not sure that anyone has done that sort of code. It might interfere with situations when you actually do want the object sticking halfway out of the ground.
#2
05/25/2007 (5:06 pm)
You I remember seeing some stuff that gave options *through script* about snap to grid, blah blah blah, check in that area of your scripts... I'll try and return with more info l8r *if I remember this :P*