ikConstraint.bendDirection¶
Type:
numberSee also: ikConstraint
Overview:¶
Indicates whether bones bend forward (1) or backward (-1). Useful if you want the IK chain to flip how it curves around the target.
Example:¶
local legIK = hero.ikConstraints[1]
legIK.bendDirection = -1 -- Force the leg to bend the other way