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 - treborjones

Pages: [1]
Playmaker Help / Invoke Method for Trail Renderer[SOLVED]
« on: November 26, 2017, 01:16:13 PM »
Hi there folks,

I'm trying to access TrailRenderer.GetPosition through InvokeMethod but not having much joy.

For invoke method TrailRenderer doesn't show up as a not sure what the next step is.

I've been looking at Call Method as well but can't figure out how to get the TrailRenderer in as the behaviour/object there.

Any pointers much appreciated. If i'm barking up the wrong tree then please let me know! :-)   



Playmaker Help / Ferr2d and Playmaker
« on: May 20, 2017, 07:25:33 AM »
Hi there!

I'm using Ferr2d and playmaker and wondered if I could use the 'GetdistanceFromPath' functionality in ferr2d. Basically, I want to slow the player down the further away from the spline they are, so need to measure that distance. It might be a Ferr2d question, so have posted on that forum too.

Any help much appreciated!



Playmaker Help / Data access
« on: April 17, 2017, 06:43:56 AM »
Hey folks, happy easter.

I've used the below system successfully to create a data asset from a google doc.

This spread sheet creates a scrtipableObject asset that lists a bunch of strings and floats that I want to reference for score boundaries on my levels.

The bit that I’m stuck with is how to access this data from playmaker. So when checking a score that the player has just achieved against these values.

So ideally I’d some how reference the current level name against my list of level names, and pull out the floats associated for each star score boundary.

I’ve been looking at Arraymaker and datamaker a little bit but can’t figure out if that’s the way I should be accessing this data or not!

I've attached a screenshot of the data object as I'm not 100% sure i've got all the terminology correct!

Any direction much appreciated.



iOS Help / iOS Build to device error
« on: March 21, 2017, 02:53:30 PM »
Hi folks,

I'm getting the below error when building to device. It doesn't occur when running in editor. I'm running 5.5.2 and Playmaker 1.8.3

Any help greatly appreciated. I've tried deleting the action and reimporting it but didn't seem to make any difference.

Apologies for large error text!

Error Loading Action: State 1 : HutongGames.PlayMaker.Actions.IntCompare : integer1
System.ArgumentOutOfRangeException: ArgRange_Array
Parameter name: index
  at System.Text.UTF8Encoding.InternalGetCharCount (System.Byte[] bytes, Int32 index, Int32 count, UInt32 leftOverBits, UInt32 leftOverCount, System.Object provider, System.Text.DecoderFallbackBuffer& fallbackBuffer, System.Byte[]& bufferArg, Boolean flush) [0x00021] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Text/UTF8Encoding.cs:459
  at System.Text.UTF8Encoding.GetCharCount (System.Byte[] bytes, Int32 index, Int32 count) [0x00004] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Text/UTF8Encoding.cs:687
  at System.Text.Encoding.GetChars (System.Byte[] bytes, Int32 index, Int32 count) [0x00000] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Text/Encoding.cs:328
  at System.Text.Encoding.GetString (System.Byte[] bytes, Int32 index, Int32 count) [0x00000] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Text/Encoding.cs:751
  at System.Text.UTF8Encoding.GetString (System.Byte[] bytes, Int32 index, Int32 count) [0x00000] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Text/UTF8Encoding.cs:1052
  at HutongGames.PlayMaker.FsmUtility.ByteArrayToFsmInt (HutongGames.PlayMaker.Fsm fsm, System.Byte[] bytes, Int32 startIndex, Int32 totalLength) [0x00000] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\FsmUtility.cs:401
  at HutongGames.PlayMaker.ActionData.GetFsmInt (HutongGames.PlayMaker.Fsm fsm, Int32 paramIndex) [0x00064] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:1572
  at HutongGames.PlayMaker.ActionData.LoadActionField (HutongGames.PlayMaker.Fsm fsm, System.Object obj, System.Reflection.FieldInfo field, Int32 paramIndex) [0x000e9] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:1007
  at HutongGames.PlayMaker.ActionData.CreateAction (HutongGames.PlayMaker.Context context, Int32 actionIndex) [0x00264] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:934
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:939)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:768)
HutongGames.PlayMaker.FsmState:LoadActions() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:117)
HutongGames.PlayMaker.Fsm:InitData() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1653)
PlayMakerFSM:OnAfterDeserialize() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:1110)

Playmaker Help / Set sun shafts transform from instansiated object
« on: August 18, 2015, 10:07:03 AM »
Howdy everyone,

I'm using the sunshafts script but want to set the 'shafts caster' transform to be of an object that's instantiated. How would I go about that? When I look at options from set property it's the only variable thats not available to specify.

My sunshafts script is on my camera which is present in the inital scene.

My sun object is spawned in as part of the level object. It's the position of this sun that I want to define the transform of the sun shafts caster.

Cheers for any help.


Action Requests / Get World Pose
« on: July 21, 2015, 02:50:41 PM »
Hey peeps, I chucked this message in playmaker help but it doesn't seem that the action exists. I'm looking for an action to cover some of the GetWorldPose functionality. Documented here

If anyone is able to create me an action that uses this to return rotation values from the wheel collider in unity 5 I'd give them a big high five and internet thank you.


Playmaker Help / Get World Pose
« on: July 20, 2015, 05:09:54 AM »
Hi folks,

Just wondered if anybody knew if the Get World Pose functionality with coliders had been created as an action? I'm trying to get my visual/mesh wheels to rotate with my Wheel colider in unity 5.0.1.

Any help much appreciated.   :)


Pages: [1]