Virtools 进阶教程—Has Attribute属性

更新时间:2023-08-03 11:50:10 阅读: 评论:0

Virtools 进阶教程—Has Attribute属性
Has Attribute
Instruction
  此范例可以和「gre考什么Groups菜花怎么洗才干净」作比较。
  物体由Mou Cursor碰触后会产生旋转的效果,旋转的速度则利用AttributeMy Own Float来控制,当Mou Cursor离开物体时,物体便停止旋转。
Building Blocks
(a) Set As Active CameraCameras/Montage/Set As Active Camera
(b) Text DisplayInterface/Text/Text Display
(c) 2D PickingInterface/Screen/2D Picking
(d) Has AttributeLogics/Attribute/Has Attribute
(e) Per SecondLogics/Calculator/Per Second
(f) RotateTransformations/Basic/Rotate
制作构想:
  主要是利用Building BlocksHas Attribute赋予每个物体其属性不同的参数值来影响物体旋转的速度,再配合Building BlocksPer SecondRotate便可以达到旋转的效果。
制作步骤:
(a) Camera
  Set As Active Camera:设定现在所使用的Camera。设定TargetNA即正前方。 Text Display:文字说明。
(b) Ground
  Get Mou Position:由Mou Cursor即可得到2D 位置,由pOut输出(如图标)
  2D Picking:利用pIn输入Mou Cursor 2D的坐标位置而得到一物体,并于pOut输出该物体古诗风的意思Object Picked;且不勾选Edit ParametersWindow Relative
  如果输出为胜任的英语True即执行Building BlocksHas Attribute;输出为Fal即重新执行2D Picking
  Has Attribute:首先于Level Manager/Default Level/Global/3D Objects/Rock/Add Attribute/My own attribute增加属性-My own float,再设定属性My own float值为预防疾病的手抄报4
  其它物体BallBoxStatue依同样方式将属性My own float值分别设定为231(如图标我和祖国一起飞)
  设定Target-即Building Blocks所输出物体Object Picked;设定Category-My own attribute-AttributeMy own float(如图标),此属性My own float值将影响其旋转的速度。 发表英语
  最后由pOut输出变量值Attribute Value
阿根廷红虾的做法
  Per cond:由pIn输入变量Attribute Value作为1秒钟所旋转的角度值X,乘上一个Frame所花费时间,在pOut输出Y(旋转角度值)
  T X(pIn) * Elapd Time = Y(pOut) Rotate:设定Target-即Building Blocks所输出物体Object Picked
  于Angle of RotationpIn输入旋转角度值Y,设定Axis of RotationY轴;设定Referential of the Axis-NULL-World坐标轴为参考 (如图标)

本文发布于:2023-08-03 11:50:10,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/89/1106524.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:旋转   物体   属性   速度   制作   效果   影响   角度
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图