Version: 2023.1
Language : English
Graphic Raycaster
Physics 2D Raycaster

Physics Raycaster

The Raycaster raycasts against 3D objectsA 3D GameObject such as a cube, terrain or ragdoll. More info
See in Glossary
in the sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary
. This allows messages to be sent to 3D physics objects that implement event interfaces.

Properties

Property: Function:
Depth Get the depth of the configured cameraA component which creates an image of a particular viewpoint in your scene. The output is either drawn to the screen or captured as a texture. More info
See in Glossary
.
Event Camera Get the camera that is used for this module.
Event Mask Logical and of Camera mask and eventMask.
Final Event Mask Logical and of Camera mask and eventMask.

PhysicsRaycaster

Graphic Raycaster
Physics 2D Raycaster