Jun 15th - Zodiac Interface
Today, I finished the “Create” mode of the applet.
Challenges:
- Figuring out how to get the cursor position;
- Figuring out how to raycast a ray into the world from the cursor screen position;
- Figuring out how to avoid processing the Create method when the cursor is overtop of a GUI element;
- Figuring out how to instantiate a prefab object at the raycast collision position;
- Figuring out how to determine what can report a raycast “hit” result;
- Figuring out how to overlay the cursor and cursor helper icon over top of dynamic GUI elements
TODOS:
- Name the instantiated gameobject with its x/y coordinates;
- Maybe add them to an array to enable undo commands;
- Create the “Connect” mode and draw lines between the selected stars
Here it is in action:
