Version: 2023.1
언어: 한국어

Cloth.bendingStiffness

매뉴얼로 전환
public float bendingStiffness ;

설명

Bending stiffness of the cloth.

Must be between zero and one. Setting the value to zero disables bending stiffness simulation.
In many cases, when you want a cloth to be more stiff, actually reducing the number of vertices will get you better results - and performance.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { GetComponent<Cloth>().bendingStiffness = 1; } }