Instead of talking about it all day, let's get the system working and talk about the code once we've finished. Having the examples on hand will help clarify how it all works.
Vec3Panda3D class that we'll be using. Add this below the first line of
from pandac.PandaModules import Vec3
__init__method from getting too cluttered, we're going to create a new method to handle some of our set up. Right after the
setKey()method, add a new definition that looks like the following line of code:
__init__method down into the new method we just defined: