Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - tankun

Pages: [1]

I've actually posted this into an earlier thread, then thought it would be a good idea to post it here.

These features are not working as of Unity 2017.1p2.

I've added the Playmaker Animator IK Proxy as well, just so you know.

In runtime they're giving yellow warnings:

Setting and getting Body Position/Rotation, IK Goals, Lookat and BoneLocalRotation should only be done in OnAnimatorIK or OnStateIK
HutongGames.PlayMaker.Actions.SetAnimatorLookAt:DoSetLookAt() (at Assets/PlayMaker/Actions/Animator/SetAnimatorLookAt.cs:141)
HutongGames.PlayMaker.Actions.SetAnimatorLookAt:OnEnter() (at Assets/PlayMaker/Actions/Animator/SetAnimatorLookAt.cs:105)
HutongGames.PlayMaker.FsmState:ActivateActions(Int32) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:199)
HutongGames.PlayMaker.FsmState:OnEnter() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:169)
HutongGames.PlayMaker.Fsm:EnterState(FsmState) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2670)
HutongGames.PlayMaker.Fsm:SwitchState(FsmState) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2628)
HutongGames.PlayMaker.Fsm:UpdateStateChanges() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2556)
HutongGames.PlayMaker.Fsm:Start() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1851)
PlayMakerFSM:Start() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:501)



PlayMaker Bug Reporting / Ecosystem 0.5.1 bug (SOLVED)
« on: July 27, 2017, 06:16:17 AM »

Just installed the new ecosystem Browser.

Got this fatal error;

Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs(2361,16): error CS0029: Cannot implicitly convert type `UnityEngine.WWW' to `HutongGames.PlayMaker.Ecosystem.Utils.WWW'

Using Unity 2017.1.0f3


PlayMaker Help / Set Animator Body (Weight)?
« on: January 14, 2014, 06:06:03 AM »
It would have been great if "Set Animator Body" had position and rotation weight settings, such as in "Set Animator IK Goal" action. Or adding the Body option  into the "Set Animator IK Goal" action itself would solve this issue.

This would make life much easier especially when sitting characters down. Especially when you want to lock them down into movable objects (such as cars, boats). This way you can use eg. Hotween to ease their sitting down motion and lock their position smoothly after.

Or is it technically impossible to do this I wonder, possibly because of Unity limitations?


PlayMaker Help / Playmaker and Easy Save2
« on: May 24, 2013, 11:19:52 AM »
Easy Save 2 is an amazing tool and it supports Playmaker but it somehow lacks the necessary Playmaker actions for saving arrays and/or hash tables. I posted in their forum inquiring about this matter but the author of the plugin told me that, since Array Maker is an add-on and isn't shipped with Playmaker natively, they are not supporting it.

I couldn't get the free Unity Serializer plugin to work properly so I decided to invest in the easy save 2, for it's simplicity and let's face it works great out of the box.

I'm making an adventure game with inventory system and I'm totally stuck now since I cannot save the game. I'd like to use hash tables both for game state variables and for inventory but I don't know how to save them now.

Here's their own script for saving and loading hash tables:

Code: [Select]

// Create a Hashtable of string/int pairs and save it.
Hashtable myHashtable = new Hashtable();
myHashtable["A"] = 1;
myHashtable["B"] = 2;
ES2.Save(myHashtable, "myFile.txt?tag=myHashtable");

// Load the Hashtable and re-assign it to our variable.
myHashtable = ES2.LoadHashtable<string, int>("myFile.txt?tag=myHashtable");

It seems simple enough to create a Playmaker action from this but I'm not that good at scripting myself.

Jean, maybe you can collaborate with Moodkie to create actions for saving arrays. I know what I'm asking may even be inappropriate but I'm stuck. Don't know what else to do really.

Thanks a lot


Pages: [1]