Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Line

<static> NormalAngle(line)

Description:

Get the angle of the normal of the given line in radians.

Parameters:

name type description
line Phaser.Geom.Line

The line to calculate the angle of the normal of.

Returns:
Description:

The angle of the normal of the line in radians.

Type:
  • number
Since: 3.0.0