Jump to content
Wermfood

How can I "Pin" two spriter objects to respect animations in Construct?

Recommended Posts

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

 

Share this post


Link to post
Share on other sites

Thanks @Lucid. I put the code as shown and the head just stays still while the body goes to town!

HelpMePlease.png.9b77cd16e27b9d6534305c010761880d.png

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 :D

 

Share this post


Link to post
Share on other sites
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!

HelpMePlease.png.9b77cd16e27b9d6534305c010761880d.png

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 :D

 

please email it to mail@brashmonkey.com so we can take a look.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×