VR Interaction Week 3 - Day 1 with Connor Settle Time to Get - - PowerPoint PPT Presentation

vr interaction
SMART_READER_LITE
LIVE PREVIEW

VR Interaction Week 3 - Day 1 with Connor Settle Time to Get - - PowerPoint PPT Presentation

VR Interaction Week 3 - Day 1 with Connor Settle Time to Get Interactive! Colliders - Every 3D object starts with one - Define the space that the object "takes up" - Used to make sure objects don't enter each other - Can also


slide-1
SLIDE 1

VR Interaction

Week 3 - Day 1

with Connor Settle

slide-2
SLIDE 2

Time to Get Interactive!

slide-3
SLIDE 3

Colliders

  • Every 3D object starts

with one

  • Define the space that

the object "takes up"

  • Used to make sure
  • bjects don't enter

each other

  • Can also be used as

"triggers"

slide-4
SLIDE 4

Triggers

  • Colliders that don't

"take up space" anymore

  • Instead, they fire events

when other colliders interact with them

Event Fired!

slide-5
SLIDE 5

RigidBody

  • Unity's physics

controller

  • Used to apply gravity,

momentum, realistic physics to objects

  • For triggers to work, one
  • f the objects must

have a rigidbody

slide-6
SLIDE 6

OVR Camera Rig

  • This is where Oculus

comes in

  • Includes head, left

hand, right hand, and lots of other bits

  • This is what allows you

to look around in VR and support controller tracking

Oculus -> VR -> Prefabs -> OVRCameraRig

slide-7
SLIDE 7

Destroy Some Cubes!

Requirements:

  • add a floor below the

player

  • lightsaber must destroy

cubes on contact

  • lightsaber must NOT

destroy the floor Tools:

  • Trigger colliders
  • Rigidbodies
  • OnTriggerEnter()
  • Destroy()