Skip to main content

10 docs tagged with "raycast"

View all tags

Entity Picking

Compare collision picking and framebuffer picking to select 3D entities when the user clicks the scene.

Information hotspots

Place clickable hotspots in the 3D view that open info panels using raycasts and screen overlays.

Physics raycasting by tag

Filter physics raycast hits by entity tags so picking ignores the wrong colliders and only selects intended objects.

Point and click movement

Move a character or object toward clicked ground positions using screen-to-world raycasts for simple navigation.

Raycast with Camera Viewports

Convert pointer coordinates into per-camera rays when using split viewports so picking hits the correct 3D region in each pane.

Simple shape raycasting

Cast a physics ray from the camera through the pointer to detect which entity or shape sits under the cursor.

Vehicle Physics

Drive a wheeled vehicle with Ammo raycast wheels, suspension, and steering that works on desktop, mobile, and WebXR.

WebXR AR: Hit Test

Cast rays into real-world geometry with the WebXR hit-test API to anchor virtual objects on detected floors and tables.