Game Development Community

Custom Collision Poly

by Phillip O'Shea · in Torque Game Builder · 09/25/2007 (6:44 pm) · 1 replies

Could you please make it like TXB? Where you can drag out the point to the boundary and it snaps to the extent while allowing you to move it on the other axis.

Example: Say I want a point to be on the furthest right boundary (i.e. local point x = 1), when I drag it over there at the moment, it gets stuck just before reaching 1. This is because when the mouse exits the box, it will stop the point from moving. I suggest that the point is snapped to the bounds (i.e. x = 1) but allow the point to move vertically.

Please, and thank you.

About the author

Head of Violent Tulip, a small independent software development company working in Wollongong, Australia. Go to http://www.violent-tulip.com/ to see our latest offerings.


#1
10/18/2007 (3:35 pm)
If you are interested in fixing this and have access to the source, you can check out the resource I submitted:

www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=13686