A downloadable tool

Buy Now$4.99 USD or more

Raycast 3D for Construct 3!

Raycast 3D is a lightweight raycasting addon for Construct 3, designed specifically for Construct's native 3D Shape objects.

It provides precise ray intersections with all six native 3D Shape types, along with camera-based raycasting, mouse/pointer selection, blockers, hit positions, surface normals and hit UID detection.

Features

  • Precise raycasting against Construct 3D Shapes
  • Supports Box, Prism, Wedge, Pyramid, Corner Out and Corner In
  • Cast rays between custom 3D coordinates
  • Cast directly forward from the 3D Camera
  • Cast through the mouse/pointer position
  • Optional pointer tolerance in pixels
  • Blocker support to prevent selecting objects through walls
  • Returns hit UID, position, distance and surface normal
  • Supports object families
  • Worker mode compatible
  • Lightweight and designed for use every tick


Important

Raycast 3D currently supports Construct 3D Shape objects only.
Construct's 3D Model object and other object types are not supported.

Included actions

  • Cast ray
  • Cast ray with blockers
  • Cast camera forward
  • Cast camera forward with blockers
  • Cast camera through pointer
  • Cast camera through pointer with blockers

Expressions

HitUID
HitX / HitY / HitZ
HitDistance
HitNormalX / HitNormalY / HitNormalZ

Use HitUID together with Construct's Pick by unique ID condition to interact with the exact object hit by the raycast.


Requirements

Construct 3 r495 or newer.


Installation

Download the .c3addon file and install it from Construct 3's Addon Manager.



Purchase

Buy Now$4.99 USD or more

In order to download this tool you must purchase it at or above the minimum price of $4.99 USD. You will get access to the following files:

Raycast3D_1.0.0.0.c3addon 13 kB

Leave a comment

Log in with itch.io to leave a comment.