PhysicMaterial.dynamicFriction2 动态摩擦力2

var dynamicFriction2 : float

Description描述

If anisotropic friction is enabled, dynamicFriction2 will be applied along frictionDirection2.

如果各向异性(有向性)摩擦力被启用,dynamicFriction2将沿着FrictionDirection2应用。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	void Awake() {
		collider.physicMaterial.dynamicFriction2 = 0;
	}
}
collider.physicMaterial.dynamicFriction2 = 0;
Page last updated: 2011-3-31