Skip to content

pecheny/HXRaycast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HXRaycast

The library provides ray collision detection with 2d-primitives (Circles and Corridors as for now). The corridor (or thick segment) acts like rectangle but differs the way of defining (start point, end point and width). Most attention had been payed to the math of intersection but there is also an example of simple "dungeon" collision detector. However the detector itself is not optimized at all especially for hi-load. It presented as illustration. Don't be surprised it was enough for my needs of simple games.

See [example] (https://github.com/pecheny/HXRaycast-example) for more details or [try demo] (http://pecheny.github.io/HXRaycast-example/HxdetExamples.swf).

About

Primitive collision detection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages