Version: 2022.3
言語: 日本語
public bool useGravity ;

説明

重力が布シミュレーションに影響するかどうか。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { // Dont use gravity on this cloth regardless if is Interactive or Skinned. transform.GetComponent<Cloth>().useGravity = false; } }