C# Class Project290.Physics.Collision.TimeOfImpact

Mostra file Open project: scastle/Solitude

Public Properties

Property Type Description
TOICalls int
TOIRootIters int

Public Methods

Method Description
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.

Method Details

CalculateTimeOfImpact() public static method

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.
return void

Property Details

TOICalls public_oe static_oe property

public static int TOICalls
return int

TOIRootIters public_oe static_oe property

public static int TOIRootIters
return int