Version: 2018.4

CapsulecastCommandConstructor

マニュアルに切り替える
public CapsulecastCommand (Vector3 p1, Vector3 p2, float radius, Vector3 direction, float distance, int layerMask);

パラメーター

p1カプセルの start にある球形の中心
p2カプセルの end にある球形の中心
radiusカプセルの半径
directionThe direction of the capsule cast
distanceThe maximum length of the sweep.
layerMaskThe LayerMask that selectively ignores Colliders when casting a capsule.

説明

Creates a CapsulecastCommand.