ClampToConstraint(Constraint)

base classes — bpy_struct, Constraint

class bpy.types.ClampToConstraint(Constraint)

Constrain an object’s location to the nearest point along the target path

main_axis

Main axis of movement

Type:enum in [‘CLAMPTO_AUTO’, ‘CLAMPTO_X’, ‘CLAMPTO_Y’, ‘CLAMPTO_Z’], default ‘CLAMPTO_AUTO’
target

Target Object (Curves only)

Type:Object
use_cyclic

Treat curve as cyclic curve (no clamping to curve bounding box)

Type:boolean, default False

Inherited Properties

Inherited Functions