C# Class Box2D.Collision.TimeOfImpact

Class used for computing the time of impact. This class should not be constructed usually, just retrieve from the {@link SingletonPool#getTOI()}.
Afficher le fichier Open project: gerich-home/box2dnet Class Usage Examples

Méthodes publiques

Свойство Type Description
ToiCalls int
ToiIters int
ToiMaxIters int
ToiMaxRootIters int
ToiRootIters int

Méthodes publiques

Méthode Description
GetTimeOfImpact ( 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.

TimeOfImpact ( IWorldPool argPool ) : System.Diagnostics

Method Details

GetTimeOfImpact() public méthode

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 GetTimeOfImpact ( TOIOutput output, TOIInput input ) : void
output TOIOutput
input TOIInput
Résultat void

TimeOfImpact() public méthode

public TimeOfImpact ( IWorldPool argPool ) : System.Diagnostics
argPool IWorldPool
Résultat System.Diagnostics

Property Details

ToiCalls public_oe static_oe property

public static int ToiCalls
Résultat int

ToiIters public_oe static_oe property

public static int ToiIters
Résultat int

ToiMaxIters public_oe static_oe property

public static int ToiMaxIters
Résultat int

ToiMaxRootIters public_oe static_oe property

public static int ToiMaxRootIters
Résultat int

ToiRootIters public_oe static_oe property

public static int ToiRootIters
Résultat int