C# 클래스 Project290.Physics.Collision.TimeOfImpact

파일 보기 프로젝트 열기: scastle/Solitude

공개 프로퍼티들

프로퍼티 타입 설명
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