Skip to content

Rade58/advanced_threejs_raycaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThreeJS advanced techniques - Raycaster and Mouse Events (Workshop)

A Raycaster can cast a ray in a specifc direction and test what object intersect with it.

Usage examples

  • detect i wall is in front of player
  • test if the laser gun hit something
  • test if something is currently under the mouse to simulate mouse events
  • show an alert message if the spaceship is heading towards a planet

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages