Wermfood Posted November 4, 2018 Report Posted November 4, 2018 Hi Spriter Team! I know this is the second time I have written a question in four years - but I am having a challenge I would appreciate your genius on helping to resolve! You know I freaking love your product and have purchased a copy for a few of my friends since they love animation! I also own Spine and Creature but I keep coming back to Spriter! Here is my situation... I have an animation in Spriter of a body that has just the neck stub. It just bobbles a round a bit nothing big during an idle animation. I have another Spriter animation of a head. I would simply like to "Pin" the head to the Neck stub so that it bobs with the animation. Here are the things I have tried Created an Action Point on the Neck and then referenced it on System Tick in construct 3. I would then set the head.x to body.objectx("neckpont") and head.y to body.objecty("neckpoint"). That just blinked the head all over the place Tried the Pin behavior in Construct 3 - No movement Tried the Pin to Object behavior and specified different image points - No movement Sacrificed a goat to the animation gods - No movement I would greatly appreciate it if you could direct me to a resource that would illustrate this working, or tell me what needs to be done. Thank you! Wermfood Quote
lucid Posted November 7, 2018 Report Posted November 7, 2018 Hello @Wermfood - thanks for the support and kind words. This should do the trick, I believe: It's an action, and would be used every tick. Quote
Wermfood Posted November 8, 2018 Author Report Posted November 8, 2018 Thanks @Lucid. I put the code as shown and the head just stays still while the body goes to town! I even tried to associate a standard sprite (non spriter) and I have the same effect. I am trying to set the heads position in relation to the body. I can easily upload my constructor project if you would like to take a gander at things in action. Just let me know how to proceed Quote
Mike at BrashMonkey Posted January 2, 2019 Report Posted January 2, 2019 On 11/8/2018 at 1:06 AM, Wermfood said: Thanks @Lucid. I put the code as shown and the head just stays still while the body goes to town! I even tried to associate a standard sprite (non spriter) and I have the same effect. I am trying to set the heads position in relation to the body. I can easily upload my constructor project if you would like to take a gander at things in action. Just let me know how to proceed please email it to mail@brashmonkey.com so we can take a look. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.