getLogical/LocalPosition on composite sprite
by Jonathan Arsenault · in Torque 2D Beginner · 06/03/2013 (6:45 am) · 1 replies
https://github.com/jonharson/Torque2D/tree/patch/LogicalPosition
Added 2 quick function to get the logical or local position on a composite sprite from a world position.
If you use a layout other than rect you will need to fill in the blanks.
Ignore the change to the scene object , i am still git challenged and branched this patch from the wrong point, it only should only touch the 3 composite sprite files.
Added 2 quick function to get the logical or local position on a composite sprite from a world position.
If you use a layout other than rect you will need to fill in the blanks.
Ignore the change to the scene object , i am still git challenged and branched this patch from the wrong point, it only should only touch the 3 composite sprite files.
About the author
Made a small foray in the gaming industry working at Citeremis, worked and offered consultation in many other sector since, passing through casino management, the wood transformation industry and the transportation sector. Eat code for breakfast.
Employee Michael Perry
ZombieShortbus