Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: jeanfabre on July 23, 2014, 08:03:54 AM

Title: New action AlignTransformUsingProxy
Post by: jeanfabre on July 23, 2014, 08:03:54 AM
Hi,

 This one is tricky one :)

say you have

-- GameObject A
-- GameObject B with a child called C

If you want to have A and C aligned, this is tricky, with this action it's easy now :) so you would say, "Move and rotate B so that A and C are aligned".

 The typical scenario is lego like bricks, where for a given part you have many different pegs and anchors, and so you can move the whole part and align it to another by simply telling what's the anchor to use within that part.

 It's available as well on the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181) if you want to easily get it directly in your project!


 Bye,

 Jean
Title: Re: New action AlignTransformUsingProxy
Post by: artician on July 30, 2015, 09:46:09 PM
Hi Jean,
Is there a version of this action that can perform this action over time? I'm not having any luck with vector interpolations or similar actions.
Title: Re: New action AlignTransformUsingProxy
Post by: jeanfabre on July 31, 2015, 05:55:10 AM
Hi,

 this action was a struggle to built, and I am unparenting parenting objects around, so doing that everyframe could be an issue unfortunatly. I could give you a version that do that, but you'll be careful with perfs. ok?

Bye,

 Jean
Title: Re: New action AlignTransformUsingProxy
Post by: artician on July 31, 2015, 12:01:56 PM
Don't worry about making any modifications, I was just curious!

I found an alternative that works anyhow, I was just looking for solutions.

Thanks!