I'm using Spine with PixiJS v8.
I'm creating a game with dynamic wind that players control the strength of. The player's avatar has physics constraints applied to their hair so it should respond to physics events.
To simulate the blowing of the wind I am calling physicsTranslate every frame on the skeleton and I pass in an x and y value according to the direction and strength of the wind. The hair responds to the call, but also constantly jitters as if vibrating.
Am I using physicsTranslate incorrectly? Should it be applied every frame? Does it need to be called at a certain time (before or after something in the Spine animation cycle)?
Any help would be useful.
Thanks!
Todd