Please enable JavaScript to use CodeHS

Introduction to Virtual Reality

Description

In this lesson, students will create VR worlds that allow the user to animate objects interacting with them using a mouse. They will learn how to interactively move, resize, and recolor shapes.

Objective

Students will be able to:

  • Create a cursor in a VR world
  • Create a camera entity
  • Interact with objects by clicking on them
Description

In this lesson, students will create VR worlds that allow the user to interact with the objects in the world. They will learn how to interactively move, resize, and recolor shapes by creating a camera instance that tracks where the user is looking.

Objective

Students will be able to:

  • Create a cursor in a VR world
  • Create a camera entity
  • Interact with objects by triggering click events through the use of aiming the cursor over an object