Position a point
at the given angle
and distance
to (x
, y
).
name | type | description |
---|---|---|
point | Phaser.Types.Math.Vector2Like |
The point to be positioned. |
x | number |
The horizontal coordinate to position from. |
y | number |
The vertical coordinate to position from. |
angle | number |
The angle of rotation in radians. |
distance | number |
The distance from (x, y) to place the point at. |
The given point.