Spine - use transform constraint

Spine - use transform constraint
0

Hi!

We have a Spine animation with some transform constraints. Can we dynamically apply/run these transform constraints runtime from js component files?

I checked the cocos creator spine typescript documentation, but I cannot find any way to apply transform constraints. Also, we do have access to Spine Runtime using getRuntimeData, is there a way to use this to apply a transform constraint?

I’m talking about this transformConstraints property where it is possible to select a constraint:
http://esotericsoftware.com/spine-api-reference#SkeletonData-transformConstraints

#spine, #cocos2d-x, #creator