TileEditor - collisions do not respect tile flipping
by Morten Hougs · in Torque Game Builder · 08/16/2006 (9:47 am) · 5 replies
I have a tilemap consisting of 16 tiles. When I select a tile, and set the collisions, the tile painter works fine and dandy. When I flip the tile either horizontal or vertical, the green collision area also flips in the preview, but when the flipped tile is painted, the collision polygon does not respect the flipping settings - the collision polygon is there, but isn't flipped.
Edit: screenshot

Edit: screenshot

#2
But there is a way to script it... just search the old posts. I don't have idea where it is. Sorry.
08/21/2006 (7:25 am)
This is *by design*, I asked the same time ago (last year?)But there is a way to script it... just search the old posts. I don't have idea where it is. Sorry.
#3
08/29/2006 (12:14 pm)
Morten did you find a solution? I cant find the old post.
#4
Just flip coordinates of the collision polygon, and reset it. (There is no more than change sing in appropriate coordinates)
08/29/2006 (10:50 pm)
The solution is simple... :)Just flip coordinates of the collision polygon, and reset it. (There is no more than change sing in appropriate coordinates)
#5
08/30/2006 (11:34 am)
I don't think this is by design, I'm pretty sure it's a bug and will be fixed. Collision on normal objects is flipped when you use the V/HFlip options. But yes, you could manually modify the collision coordinates for now.
Torque Owner Morten Hougs