Game Development Reference
In-Depth Information
Getting ready
Simply following the steps in this recipe won't give us anything testable. Since the camera
has no physics, the door will just sit there and we will have no way to push it. If you have
made any of the recipes that use the
BetterCharacterControl
class, many of them
in
Chapter 2
,
Cameras and Game Controls
, we will already have a suitable test bed for the
door. If not, jMonkeyEngine's
TestBetterCharacter
example can also be used.