phaser-raycaster

Raycasting plugin for Phaser 3. Documentation:

MIT License

Downloads
143
Stars
90
Committers
3
phaser-raycaster - v0.7.1

Published by wiserim over 4 years ago

v0.7.1

  • Map: can now map containers
  • Automatic map updates on update event can be now disabled, by passing autoUpdate option to raycaster constructor.
  • BUGFIX: Typo in Ray.setDetectionRange method.
  • BUGFIX: In Ray.cast method, when ray's range is set below Phaser.Math.MAX_SAFE_INTEGER and theres no available intersections within detection range, method was trying to calculate ray's target distance to ray origin, even if target was not passed.
phaser-raycaster - v0.7.0

Published by wiserim over 4 years ago

v0.7.0

  • Ray: added castCone method
  • Ray: added setCone mathod
  • Ray: added setConeDeg method
  • Bugfix: typo in Ray.setDetectionRange method
phaser-raycaster -

Published by wiserim over 4 years ago

v0.6.4

  • Ray angle is now normalized (between 0 - 2PI)
phaser-raycaster -

Published by wiserim over 4 years ago

v0.6.3

  • BUGFIX: not defining boundingBox when physics is not defined, cause error

v0.6.2

  • BUGFIX: not defining boundingBox when physics is not defined, cause error

v0.6.1

  • Raycaster: bounds will be set to the world bounds by default,
  • Ray: added setAngleDeg method,
  • Ray: castAll method renamed to castCircle,
  • BUGFIX: not passing argument to ray creator cause error.
phaser-raycaster -

Published by wiserim over 4 years ago