To Cage A Bird

January 5, 2022

Assignment

The point of the homework is to think of subtle interactions, interactions of the gaze, at a distance. Implement some raycasting to change the scene layout or elements based on where the player is looking. Feel free to use this homework as a playground for an interaction you want to have in your final project. Additionally, think of what it means to look at something, whether it's inspecting, inquiring, staring, reacting, etc. Finally, build your project to WebGL and upload it to itch.io to get familiar with the build process.

  • (normal) one raycasting which allows you to change the state/behaviour/appearance of a game object at a distance.
  • (extra) one raycasting which allows you to create a mark on another game object (graffiti, signature, sticker, etc.).

What I Did

I have been thinking these past few days about a room full of birds. Working with animated bird assets from the asset store, I came up with a loose idea for a game. In the game, you have to freeze the birds mid-flight and then draw a cage around them. Still a work in progress, this was a good practice for me to play with raycasters. It took me quite awhile to get the drawing objects in space element worked out, but eventually was able to do using  "Camera.main.ScreenToWorldPoint(new Vector3(mouseX, mouseY, 2.0f));"

Questions/Notes

  1. Ways to combine meshes? (Like for four walls with a window in the middle)
  2. Advice on working with Unity and not slowing everything down
  3. Examples of gameplay? (standard keyboard controls?)

No items found.