Picking does not work with flipped sprites.
by bentgarney · in Torque Game Builder · 04/08/2005 (5:23 pm) · 6 replies
#2
04/08/2005 (5:25 pm)
Ive been using that reference doc alot lately.
#3
04/09/2005 (9:50 am)
Heh, I never would of thought of flipping a sprite by passing a negative value to size. That's kinda funny. I guess it worked visually, but apparently not with the physics/collision system.
#4
*The "bugs" forum fills up with more non-T2D bugs* ;)
- Melv.
04/09/2005 (10:06 am)
In the update, there is a check for negative sizes. They are clamped to near-zero.*The "bugs" forum fills up with more non-T2D bugs* ;)
- Melv.
#5
Very powerful command. Bitch to get working correctly. ;)
- Melv.
04/09/2005 (10:51 am)
The good thing about "setFlip()" is that it relocates all the mount-points for you and rigidly mounted objects move to their new positions. If any children are inheriting attributes (option in the mount) then they also flip as does their mounted children and so on.Very powerful command. Bitch to get working correctly. ;)
- Melv.
#6
04/09/2005 (2:06 pm)
Lol I bet it was Melv... just seeing what you were listing the code complexity was running through my mind, a lot off little quirks to ensure work... things that are not so visible as well
Torque Owner Chris Newman
( X axis, Y axis )
Take a look at the T2D reference doc in the doc folder for a list of all the functions.