- 最后登录
- 2014-10-23
- 注册时间
- 2011-7-19
- 阅读权限
- 90
- 积分
- 81303
 
- 纳金币
- -1
- 精华
- 11
|
jointMotor
结构
jointMotor用来旋转一个关节
例如:Hingejoint可以被告知以制定的速度和力旋转。关节然后用给定的最大力试图到达这个速度,参见:
变量
◆ var force:float
描述:动力将应用最大为force的力以便取得targetvelocity
◆ var freeSpin:bool
描述:如果freeSpin被启用动力将只加速而不会减速
◆ var targetvelocity:float
描述:动力将应用最大为force的力以便取得targetvelocity
|
|