Graphics Reference
In-Depth Information
Figure 8-34
Model the glass with this geometry.
As mentioned earlier, it is possible to have a Triangle Mesh move if it is parented to a moving object. This
means that it is possible to have the glass itself be a Triangle Mesh in order to interact correctly with the ball.
However, if this is the case, the glass cannot collide with the ground; two Triangle Meshes do not collide with
each other. It is necessary to create a set of special collision meshes to do this.
1.
To create the special collision meshes, select the vertices of the cup shown in
Figure 8-35
. Duplicate
theseverticesbypressingShift+D,andthenpressPandchooseSelectedtocreateanewobjectwiththese
vertices. You can see the new object in Edit mode in
Figure 8-36
. Note the four vertices around the lip of
the cup.