PhysicMaterial.staticFriction2 静态摩擦力2
var staticFriction2 : float
Description描述
If anisotropic friction is enabled, staticFriction2 will be applied along frictionDirection2.
如果各向异性(有向性)摩擦力被启用,staticFriction2将沿着frictionDirection2应用。
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Awake() {
collider.physicMaterial.staticFriction2 = 0;
}
}
collider.physicMaterial.staticFriction2 = 0;
最后修改:2011年3月31日 Thursday 10:12