Skip to content

A Unity3d ConeCastAll extension method for the Physics class, similar to Physics.SphereCastAll

License

Notifications You must be signed in to change notification settings

walterellisfun/ConeCast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Unity3d ConeCastAll extension method for the Physics class, similar to Physics.SphereCastAll

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages