Tuesday 3 March 2009

llDetectedTouchUV function

I'm not sure when it was added, but the ability to determine where the user clicked on an object's surface is very useful. To try it out I threw together two examples, shown in the video below.



Subbuteo:
The HUD calculates the distance and angle from centre of the point clicked, and applies an equivalent force to the Subbuteo player. ((I wasn't impressed by Ronaldo's finishing))

Star Fleet Command III turning:
You can click on the ring surrounding the ship to set a heading.

No comments: