bone.appliedRotation¶
Type:
number (read/write)See also: bone
Overview:¶
Reflects the rotation that Spine calculates for this bone during animation. Setting appliedRotation directly can override the animation’s rotation if you want manual control.
Example:¶
local spine = require("plugin.spine")
local bone = hero.bones[2]
print("Applied rotation before override:", bone.appliedRotation)
bone.appliedRotation = 30