Collision detector is a tool, that is able to find collisions between a set of objects and show them if required. There are several levels of precision for detection:
Also Collision detector always checks if there is a collision between each pair of objects. Number of object pairs grows quickly with size of an object set. Hence, it may be advisable to use multiple instances of collision detector tool, if some objects are bound not to get close to each other by physical constraints, rather than one collision detector with enormous set of objects.
Property / Property Group | Description |
---|---|
Base | FreeCAD properties necessary for correct display in the tree view. |
Label | Name of this collision detector tool shown in the tree view. |
Group | A list of intersections to be shown in the tree view. |
Collided Style | Style used to highlight objects which have collided. |
Collided Line Color | Color used to paint lines belonging to an object which has collided. |
Collided Line Width | Width of lines belonging to an object which has collided. |
Collided Shape Color | Color used to paint shape (e.g. sides of a cube) belonging to an object which has collided. |
Collided Transparency | Transparency of lines, shape and points of an object which has collided. |
General | Main properties controlling overall behavior. |
Checking Level | Levels of checking Bounding box, Shape distance, Intersection volume and Intersection volume visualizations from coarse and fast to slow but precise. Bounding box checks only if bounding boxes overlap. Shape distance also checks distance between shapes themselves. Intersection volume tests that there is an intersection with nonzero volume in addition to previous conditions. Intersections volume visualizations does all checks and shows the intersection. |
Observed Objects | A list of object among which we check for collisions. If we have $n$ objects, the we will get $\begin{pmatrix} n\\2 \end{pmatrix}$ couples which we need to check for collisions. Hence, it may be better to use multiple collision detectors to check for collision only among those objects that can physically touch. |
Remember Collisions | Remember which objects had collided and highlight them with Collided style. |
In-Collision Style | Style used to highlight objects which are currently in collision. |
In Collision Line Color | Color used to paint lines belonging to an object which is in collision. |
In Collision Line Width | Width of lines belonging to an object which is in collision. |
In Collision Shape Color | Color used to paint shape (e.g. sides of a cube) belonging to an object in collision. |
In Collision Transparency | Transparency of lines, shape and points of an object which is in collision. |
Intersection Style | Style used for highlighting itersections between objects |
Intersection Color | Color used to paint a shape, lines and points of an object used for highlighting intersection volume. |