Skip to content
A Unity3d ConeCastAll extension method for the Physics class, similar to Physics.SphereCastAll
C#
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ConeCast.gif add GIF Sep 13, 2018
ConeCastExample.cs made it an extension method Sep 13, 2018
ConeCastExtension.cs made it an extension method Sep 13, 2018
LICENSE Update LICENSE Sep 13, 2018
README.md

README.md

ConeCast

ConeCastAll extension method

A Unity3d ConeCastAll extension method for the Physics class.

Use this to find colliders within a cone-shaped volume.

It uses SphereCastAll, which is like a RayCast tube, but then it uses Vector3.Angle to filter out hitpoints according to a cone.

Using it is very similar to using SphereCastAll.

Variables: Vector3 origin, float maxRadius, Vector3 direction, float maxDistance, float coneAngle

You can’t perform that action at this time.