Physics.bounceThreshold 反弹阈值

static var bounceThreshold : float

Description描述

Two colliding objects with a relative velocity below this will not bounce (default 2). Must be positive.

两个碰撞物体的相对速度如果在这个设定值之下,不会反弹。默认值2.。取值范围0到无穷大。必须为正数。

This value is usually changed in Edit->Project Settings->Physics inspector instead of from scripts.

这个值常在Edit->Project Settings->Physics 菜单下设定。而不用在脚本中。

Physics.bounceThreshold = 1;
最后修改:2011年4月9日 Saturday 9:35

本脚本参考基于Unity 3.4.1f5

英文部分版权属©Unity公司所有,中文部分© Unity圣典 版权所有,未经许可,严禁转载 。