Unity provides standard spline asset, use BGCurve only if Unity spline misses some feature

Collider Capsule [Component]

This Component is part of BG Spline Colliders

Description

Generates a set of Capsule colliders along the spline. Note, there should not be any GameObject with Capsule colliders right under the spline object, cause it's reusing them for it's own need. If by some reason you need some independent GameObject with CapsuleCollider under the spline, place it under another object without CapsuleCollider.

Parameters

splitMode

partsTotal

partsPerSection

doNotOptimizeStraightLines

radius

lengthExtends

maxNumberOfColliders

isTrigger

material

prefab

inheritLayer

layer

showHandles

spheresScale

spheresColor

spheresCount

showIfNotSelected

collidersColor