Game Development Reference
In-Depth Information
Figure 11-26. The laser beam projected into the garden
8.
Turn the Gnomatic Garden Defender around.
9.
Try raising and lowering the laser with the 1 and 2 keys.
The beam goes up and down with the device, but the device itself does not rotate up and down like
the gnome's arm. Just as with the Arm Group, the RayGun will require a MouseLook component.
1.
Exit Play mode, and select the Arm Group.
2.
Right-click over its Mouse Look component label, and select Copy
Component.
3.
Select the RayGun, right-click over any of its component labels, and select
“Paste Component as New.”
4.
Click Play, raise the device, and test the mobility.
This time, the beam is fully mobile within the ranges already set in the original MouseLook. The only
problem is that the beam can intersect the base of the cap (Figure 11-27 ).
 
Search WWH ::




Custom Search