Game Development Reference
In-Depth Information
1
2
Figure 2.4. Compound geometries can cause artifacts when objects get stuck in between
parts.
is no good solution to this, but avoid using many small objects to make up com-
pound bodies. In the case above, a capsule or cylinder would have avoided the
problem.
1
2
3
Figure 2.5. An object sliding over a compound geometry can catch on invisible hooks
due to penetration.
Sliding. A similar problem can occur when an object is sliding over a flat surface
that is made up of multiple parts. Imagine the scene in Figure 2.5. The box
should ideally slide over the seam without any glitches, but they way the object
is constructed, the seam can create invisible “hooks” causing the sliding object to
1
2
Figure 2.6. Making a ramp on each side and letting them overlap is a simple work-around
to avoid objects getting stuck in compound objects.
 
Search Nedrilad ::




Custom Search