In this directory is the code to learn about creating
floating objects that you can stand one, applying impulse
vectors, and using getEyeVector() and setWord().
Just get the code and data files and then check out:
floatingDisk.cs:
- notice how a stairway is created
- run your blue-dude up the stairs
- see how "getTerrainHeight" is used inside of floatingDisk.cs
to dynamically place the disks above any terrain
- Go ahead in World Editor Inspector and modify
a low level disk to scale it 5 5 0.5 to make it really big.
Go ahead and jump your blue-dude onto the disk.
- see how "getTerrainHeight" is used inside of floatingDisk.cs
player.cs:
- in the playerData declarsion notic "jumpForce = 100". This
lets you modify how high the blue-dude jumps on hitting the space bar.
cylinderItem.cs:
- notice the use of "getEyeVector". This allows the blue-dude
to push the cylinders in the direction he (looks male to me) is facing.
- notice the use of "setWord" to specify the Z-coordinate.