C# Класс Project290.Physics.Collision.TimeOfImpact

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

Открытые свойства

Свойство Тип Описание
TOICalls int
TOIRootIters int

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

Метод Описание
CalculateTimeOfImpact ( TOIOutput &output, TOIInput &input ) : void

Compute the upper bound on time before two shapes penetrate. Time is represented as a fraction between [0,tMax]. This uses a swept separating axis and may miss some intermediate, non-tunneling collision. If you change the time interval, you should call this function again. Note: use Distance() to compute the contact point and normal at the time of impact.

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

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

Compute the upper bound on time before two shapes penetrate. Time is represented as a fraction between [0,tMax]. This uses a swept separating axis and may miss some intermediate, non-tunneling collision. If you change the time interval, you should call this function again. Note: use Distance() to compute the contact point and normal at the time of impact.
public static CalculateTimeOfImpact ( TOIOutput &output, TOIInput &input ) : void
output TOIOutput The output.
input TOIInput The input.
Результат void

Описание свойств

TOICalls публичное статическое свойство

public static int TOICalls
Результат int

TOIRootIters публичное статическое свойство

public static int TOIRootIters
Результат int