Version: 2017.3

ClothSphereColliderPairConstructor

Cambiar al Manual
public ClothSphereColliderPair (SphereCollider a);
public ClothSphereColliderPair (SphereCollider a, SphereCollider b);

Parámetros

a The first SphereCollider of a ClothSphereColliderPair.
b The second SphereCollider of a ClothSphereColliderPair.

Descripción

Creates a ClothSphereColliderPair. If only one SphereCollider is given, the ClothSphereColliderPair will define a simple sphere. If two SphereColliders are given, the ClothSphereColliderPair defines a conic capsule shape, composed of the two spheres and the cone connecting the two.