Callisto function reference  5.2
SCALResult Struct Reference

Structure to receive collision info. More...

#include <callisto52Types.h>

Data Fields

CAL_scalar distance
 
int groupID0
 
int groupID1
 
int objID0
 
int objID1
 
CAL_scalar vector0 [3]
 
CAL_scalar vector1 [3]
 

Detailed Description

Structure to receive collision info.

Retrieve information about the last collision check/closest pair/penetration depth.

Field Documentation

CAL_scalar SCALResult::distance

The penetration distance or distance between the groups, depending on the type of check.

int SCALResult::groupID0

The group ID of the first resulting object.

int SCALResult::groupID1

The group ID of the second resulting object.

int SCALResult::objID0

The first resulting object.

int SCALResult::objID1

The second resulting object.

CAL_scalar SCALResult::vector0[3]

The first point involved in the check. Only applicable in case of closest pair and penetration depth.

CAL_scalar SCALResult::vector1[3]

The second point involved in the check. Only applicable in case of closest pair and penetration depth.


The documentation for this struct was generated from the following file: