ClothSphereColliderPairConstructor

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

Parámetros

aThe first SphereCollider of a ClothSphereColliderPair.
bThe 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.