sim.checkDistanceChecks the minimum distance between two entities. The measurable flags of the entities are overridden if the entities are objects. If the entities are both the same collection (i.e. with the same collection handle), then same objects will not be checked against themselve Synopsisint result, list distanceData, list objectHandlePair = sim.checkDistance(int entity1Handle,
int entity2Handle,
float threshold = 0)
int result, float[7] distanceData, int[2] objectHandlePair = sim.checkDistance(int entity1Handle,
int entity2Handle,
float threshold = 0)
Arguments
Return values
|