Virtools 高级教程—Surveillance Camera 监视相机 - Virtools
Surveillance Camera
Instruction:
「Surveillance Camera」即是监视摄影机的意思,是将Camera设定在空间较上方的位置,作规律的转动,不因人物-Eva的移动而移动或转动。
Building Blocks:
(a) Character Controller-Characters/Movement/Character Controller
(b) Character Keep On Floor-Characters/Constraint/Character Keep On Floor
(c) Keyboard Controller-Controllers/Keyboard/Keyboard Controller
(d) Object Slider-Collisions/3D Entity/Object Slider
(e) Set As Active Camera-Cameras/Montage/Set As Active Camera
(f) Bezier PrOGREssion-Logics/Loops/Bezier PrOGREssion
(g) Interpolator-Logics/Interpolator/Interpolator
(h) Set Euler Orientation-3D Transformations/Basic/Set Euler Orientation
制作构想:
首先必须利用Building Blocks-Character Controller、Keyboard Controller设定键盘控制Eva的动作;再利用Character Keep On Floor、Object Slider等设定Eva与地面接触和碰撞等属性。
利用Building Blocks-Set Euler Orientation固定New Camera镜头转动的方向,再配合Bezier PrOGREssion、Interpolator制造出New Camera镜头转动的效果。
制作步骤:
(a) Eva
Character Controller:设定Eva的Animations。
首先从Virtools Resources/Characters/Animations/Skin Character Animation/Eva里点选Wait.cmo、Walk.cmo、Walk Bckwd.cmo以及Run.cmo并拖曳至Eva,再设定Stand Animation、Walk Animation、Backward Walk Animation以及Run Animation(如图标)。
Keyboard Controller:设定Eva可以经由键盘来操控动作,内定值为Wait-None、Walk-Key 8、Turn Left-Key 4、Turn Right-Key 6、Backward Walk-Key 2、Run-Key Insert。
Character Keep On Floor:于Level Manager/Default Level/Global/3D Objects/Plane/Add Attribute/Floor Manager/Floor增加保持与地面接触的属性,再于Building Blocks-Character Keep On Floor作循环即可(如图标)。
Object Slider:设定Eva的碰撞属性Group Obstacles Eva;Radius-碰撞半径(如图标)。
(b) New Camera
Set As Active Camera:设定现在所使用的Camera。