HitData.

AngleToDirection(float, Quaternion, bool) Method

Assembly
PlatformerGameKit.dll
Namespace
PlatformerGameKit
Containing Type
HitData

Syntax

public static Vector2 AngleToDirection(float angle, Quaternion rotation, bool flipX = false)

Parameters

Name Type Description
angle float
rotation Quaternion
flipX bool

Return Value

Type Description
Vector2