Cloth.useGravity 使用重力
var useGravity : bool
Description描述
Should gravity affect the cloth simulation?
是否重力影响布料模拟?
// Dont use gravity on this cloth regardless if is Interactive or Skinned.
// 使布料不受重力的影响
transform.GetComponent(Cloth).useGravity = false;
最后修改:2011年1月18日 Tuesday 21:44