Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: muppetpuppet on August 03, 2015, 06:38:40 AM

Title: easysave turns rect into quaternion.!!
Post by: muppetpuppet on August 03, 2015, 06:38:40 AM
I'm using easysave with arraymaker..  To save lists and hashtables.  however a playmaker array list proxy I have contains rects.  And it is saved as Quaternions.  Does the same trick I guess, but would require me to recode and run through a lot of scripts to fix..   Basically It saves to quaternion, and then on load turns the list into a quaternion list. 

Anything to explain this?

cheerio,
tomas
Title: Re: easysave turns rect into quaternion.!!
Post by: djaydino on August 03, 2015, 01:16:48 PM
Hi,
you can try asking on the easysave forum or e-mail them to fix this, because we can not see or edit their scripts (actions)

Title: Re: easysave turns rect into quaternion.!!
Post by: muppetpuppet on August 03, 2015, 01:59:19 PM
I thought because the arraymaker where playmaker actions they'd contain code for this.  but on investigation those actions seem pretty bare bone when opened in an editor
Title: Re: easysave turns rect into quaternion.!!
Post by: muppetpuppet on August 03, 2015, 02:50:14 PM
The easysave guys are sending me back here . lol

anyone have a clue, why rects turn into quaternion lists?  with arraymaker and easysave?
Title: Re: easysave turns rect into quaternion.!!
Post by: jeanfabre on August 03, 2015, 02:52:37 PM
Hi,

 I'll try to have a look at this tomorow, but I am flying very soon, so I am sure I'll have time, please bump me after siggraph if I haven't had time.

 Bye,

Jean
Title: Re: easysave turns rect into quaternion.!!
Post by: muppetpuppet on August 03, 2015, 03:00:03 PM
cool,  If you're flying to germany, hit me up on @littlechicken01 on twitter. I'll get you some gamescom german beers ;)

Title: Re: easysave turns rect into quaternion.!!
Post by: jeanfabre on August 03, 2015, 03:09:03 PM
:)

 I'll try to remember! one day Unity Europe will surely be held in berlin or in Germany at least, I'll definitly make it then.

Bye,

 Jean
Title: Re: easysave turns rect into quaternion.!!
Post by: muppetpuppet on August 03, 2015, 03:23:41 PM
unite europe was in Amsterdam just a month ago..

But gamescom is the big games event here this week in cologne.  But that's not your destination. so no worries ;)
Title: Re: easysave turns rect into quaternion.!!
Post by: muppetpuppet on August 03, 2015, 08:33:08 PM
Well,  I got it figured out, it requires an update to the latest arraymaker. 

But lo and behold If I upgrade  all of my actions like  Hastable set that aren't connected to a variable and use the input.value   are reset to float with zero as value.   

So I'm debating either working around and changing my rects to quaternions and keep the old arraymaker or or upgrading arraymaker and risk having to run through all graphs with a finetooth comb.

any thoughts what would be wisest, or is there a work around where upgrading doesn't reset these actions?


Title: Re: easysave turns rect into quaternion.!!
Post by: jeanfabre on August 04, 2015, 02:16:11 AM
Hi,

Ok, It is very odd that you get everything reseted, I haven't changed the actions.

 Can you make a copy of your project and send it to me ( prior upgrading), so that I can repro locally?

 Thanks,

 Jean
Title: Re: easysave turns rect into quaternion.!!
Post by: muppetpuppet on August 04, 2015, 08:24:10 AM
i've send you an email message through the forums..  With a link to a project RAR. If you have dropbox , just send me a message with your email, so I can simply share a directory..