Kovacs-3d / RaycastVisualization

This asset allows users to view raycasts as the user fires them.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raycast Visualization

This asset allows users to view raycasts as the user fires them.

Usage

Replace Physics. with VisualPhysics. when firing a raycast to get a visual.

This class is housed within the Nomnom.RaycastVisualization namespace.

Installation

Using Unity Package Manager

  1. Open the Package Manager from Window/Package Manager
  2. Click the '+' button in the top-left of the window
  3. Click 'Add package from git URL'
  4. Provide the URL of this git repository: https://github.com/nomnomab/RaycastVisualization.git
  5. Click the 'add' button

User Options

The user options are located under Edit/Preferences/RaycastVisualization

Settings

Examples

Raycast / Linecast

Raycast / Linecast

RaycastAll / RaycastNonAlloc

RaycastAll / RaycastNonAlloc

CapsuleCast

CapsuleCast

CapsuleCastAll / CapsuleCastNonAlloc

CapsuleCastAll / CapsuleCastNonAlloc

CheckCapsule

CheckCapsule

OverlapCapsule / OverlapCapsuleNonAlloc

OverlapCapsule / OverlapCapsuleNonAlloc

BoxCast

BoxCast

BoxCastAll / BoxCastNonAlloc

BoxCastAll / BoxCastNonAlloc

CheckBox

CheckBox

OverlapBox / OverlapBoxNonAlloc

OverlapBox / OverlapBoxNonAlloc

SphereCast

SphereCast

SphereCastAll / SphereCastNonAlloc

SphereCastAll / SphereCastNonAlloc

CheckSphere

CheckSphere

OverlapSphere / OverlapSphereNonAlloc

OverlapSphere / OverlapSphereNonAlloc

Compute Penetration

Compute Penetration

Closest Point

Closest Point

About

This asset allows users to view raycasts as the user fires them.


Languages

Language:C# 100.0%