ClothSphereColliderPair.ClothSphereColliderPair

Unity · Версия 2020.3 LTS · Scripting · ClothSphereColliderPair

ClothSphereColliderPair.ClothSphereColliderPair

Объявление

public ClothSphereColliderPair(SphereCollider a);

public ClothSphereColliderPair(SphereCollider a, SphereCollider b);

Параметры

a Первый SphereCollider пары ClothSphereColliderPair.
b Второй SphereCollider пары ClothSphereColliderPair.

Описание

Создает ClothSphereColliderPair. Если задан только один SphereCollider, ClothSphereColliderPair определит простую сферу. Если заданы два SphereColliders, ClothSphereColliderPair определяет коническую форму капсулы, состоящую из двух сфер и конуса, соединяющего их.

Обновлено 17 ноября 2026 г.