SkinnedCloth.worldVelocityScale 世界速度比例

var worldVelocityScale : float


How much world-space movement of the character will affect cloth vertices.


The higher this value is, the more the cloth will move as a reaction to world space movement of the GameObject. Basically, this defines the air friction of the SkinnedCloth.


using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	void Awake() {
		GetComponent<SkinnedCloth>().worldVelocityScale = 0.5F;
GetComponent(SkinnedCloth).worldVelocityScale = 0.5;
Page last updated: 2011-3-26