C# Класс World.Physics.Utils

Показать файл Открыть проект

Открытые методы

Метод Описание
ComposeSpeed ( System.Vector2 speeds ) : float>.Tuple

ComposeSpeed ( System.Vector2 speeds, float referenceDirection ) : float>.Tuple

DecomposeSpeed ( float speed, float direction ) : System.Vector2
DecomposeSpeed ( float speed, float direction, float referenceDirection ) : System.Vector2
Move ( System.Vector2 initialPosition, float directionInRads, float speed ) : System.Vector2

Описание методов

ComposeSpeed() публичный статический Метод

public static ComposeSpeed ( System.Vector2 speeds ) : float>.Tuple
speeds System.Vector2
Результат float>.Tuple

ComposeSpeed() публичный статический Метод

public static ComposeSpeed ( System.Vector2 speeds, float referenceDirection ) : float>.Tuple
speeds System.Vector2
referenceDirection float
Результат float>.Tuple

DecomposeSpeed() публичный статический Метод

public static DecomposeSpeed ( float speed, float direction ) : System.Vector2
speed float
direction float
Результат System.Vector2

DecomposeSpeed() публичный статический Метод

public static DecomposeSpeed ( float speed, float direction, float referenceDirection ) : System.Vector2
speed float
direction float
referenceDirection float
Результат System.Vector2

Move() публичный статический Метод

public static Move ( System.Vector2 initialPosition, float directionInRads, float speed ) : System.Vector2
initialPosition System.Vector2
directionInRads float
speed float
Результат System.Vector2