Version: 2018.4
public Vector3 externalAcceleration ;

説明

クロスに適用される一定の外部加速度。

旗がなびくような布に一定の力を加えるシミュレートを行うために使用します。 See Also: Cloth.randomAcceleration.

using UnityEngine;

public class Example : MonoBehaviour { // Make this cloth fall at half speed (if is affected by gravity). void Start() { GetComponent<Cloth>().externalAcceleration = -Physics.gravity / 2; } }