playMaker

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.


Messages - jeanfabre

Pages: [1] 2 3 ... 929
1
Share New Actions / Re: Set Sorting Group (Sprites)
« on: May 23, 2019, 10:53:28 PM »
Hi,

 fixed :)

 Bye,

 Jean

2
Playmaker Help / Re: HELP I can't search uGuiProxyFull in Ecosystem
« on: May 23, 2019, 11:00:21 AM »
Hi,

 I have removed uGui from the Ecosystem because it's no built in PlayMaker. All the uGui actions are now inside PlayMaker.

 Is that ok, or you would prefer to use the old uGui? I don't think it's a good idea to have duplicated actions in PlayMaker and in the Ecosystem, however uGui has proxy components that are not available elsewhere, if you need just them proxies, I could bring that back for sure, I am tinkering this this.

Bye,

 Jean

3
Share New Actions / Re: Set Sorting Group (Sprites)
« on: May 23, 2019, 02:21:09 AM »
Hi,

 I took your action and updated it slightly, and it;'s now on the ecosystem.

the action is called: SetSortingGroupProperties

Check it out and see how I edited it, basically, you can use ComponentAction<> class to override and make component access easier and reliable with less code.

I also made similar actions for control the renderer component layer itself as well. RendererSetOrderInLayer and RendererSetSortingLayer

thanks for your input!

4
Hi,

 I am on contact with the author, an update will come asap, the last version UnnyNet has changed, we need to update playmaker port.

 Bye,

 Jean

5
Action Requests / Re: Unity's (new) Input System
« on: May 23, 2019, 01:38:06 AM »
Hi,

 Excellent, that will help me greatly! I can't promess when I am going to start on this, so please bump every week or so, just to keep me aware of that... I need it.

Bye,

 Jean

6
Hi,

 Thanks for the kind words :)

if the following is tltr: update datamaker, you have now Name() as a property query


----- now onto the explanation :)

I think you are mistaken with the structure and the content. It's not a good practice that your node represent the data itself, the node name is the structure of your data.

it doesn't take away this request and I agree it's useful, but I think you could end up in trouble down the road by doing so, it's not how xml was designed to be used. the data structure must be known, and the data itself should indicate what's coming next.

so it's perfectly fine and recommended to add attributes to define the content like you did, but it should not be the "name" of the node, but rather something specific to your data semantic meaning. if the node is a prop in your scene then you should have

<prop type="furniture>content expect to be formatted to describe a furniture</prop>

instead  of <node name="nodename"> which confuse structure and data.


let's take the example of a human holding a tool. you don't know what his holding, could be food, could be anything. One way would be to do like you did, creating a node inside the right hand node and get the name of the name to know what it is.

<hand><food>Apple</food></hand>

with the above, you need to tap into the structure itself mixing it up with the data itself in order to know what's going on.

but what if I create a generic prop node instead.

<hand><prop type="food">Apple</prop></hand>

this second approach is far more powerful and flexible both to represent data and to work with it for programming, it's powerfull because the structure is expected, a Hand can only have a Prop as a child node, and the content of the Prop node is known via its structural attribute type, which lets your program know what to expected inside that prop node. Likely it will be more detailed:

<hand>
 <prop type="food">
   <food>
    <name>Apple></name>
    <sort>Granny smith</sort>
   </food>
 </prop>
</hand>


Does that make sense? while I also agree that it doesn't help when you don't know what's coming up should you have not followed that structure paradigm I just explained. Html being the example, where within a div, you don't know what you will get. However, as I said earlier, you a re opening a can of worm with this approach even if it feels at first a very elegant one.

long story short, I have added this possibility right within xpath, allowing you to query the name of a node like this: "Name()" which is a valid xpath query.

for XML Save In Proxy and save xml as string, the proxy component itself has a "Store in memory: property, so you can use that. Is that not working on your end?

Please update it from the ecosystem, note that it's now distributed starting from 5.6, not 4.x anymore. and soon, 2017 will be the new starting point, Unity is going to move away from supporting 5.x in july.

Bye,

 Jean








7
Feature Requests / Re: Mute or deactivate or passtrough State!!
« on: May 21, 2019, 04:55:08 AM »
Hi,

we could have it like breakpoint, where if you flag a transition, it will pass through that one.




Bye,

 Jean

8
Feature Requests / Re: Why isn't "Action Sequence" the default?
« on: May 21, 2019, 04:33:33 AM »
Hi,

 I also use sequence rarely, but I also do think it should be exposed more, and probably has its state visuals also indicating this, like we have now a small icon for when a state sends an event.

 Bye,

 Jean

9
Feature Requests / Re: Array Get Random Weighted
« on: May 21, 2019, 04:30:40 AM »
hi,

 It's on the ecosystem: ArrayGetRandomCurvedWeighted

 let me know how it goes for you, if you like it, I'll promote and do the arrayMaker variant

 Bye,

 Jean

10
Action Requests / Re: Sort an Array of Game objects by name
« on: May 20, 2019, 11:28:34 PM »
Hi,

 Are you using ArryMaker or the built in FsmArray?

I would use ArrayMaker anyway, and keep a hashtable with keys as names and values as gameobjects, then you can extract the keys, sort them the way you want, and when you want to access them in order, you use the sorted array, and then pick up the gameobject from the hashtable.

without hashtables, it's not possible, only via a custom actions.

Bye,

 Jean

11
Action Requests / Re: WheelCollider Get World Pose[SOLVED]
« on: May 20, 2019, 11:26:22 PM »
Hi,

Cool :) thanks for that!

 Bye,

 Jean

12
Share New Actions / Re: LoadFromFile
« on: May 20, 2019, 11:25:52 PM »
Hi,

 What is the path you are trying to load from?

anyway, if your goal is to load assets and not user's file, then yes, you should use Resources, this is much better. LoadFromFile is for accessing the user HD and files that are not present in the project assets or bundles.

Bye,

 Jean

13
Share New Actions / Re: Capture Pose As Animation Clip
« on: May 20, 2019, 04:40:25 AM »
Hi,

 pm you, basically, the sample you sent doesn't have animation.

Bye,

 Jean

14
Action Requests / Re: Get World Pose
« on: May 20, 2019, 02:10:43 AM »
Hi,

 ok, this is fixed! finally!... I found the stupid issue, it's corrected and up on the ecosystem!

Can I use your scene to make a sample of it on the Ecosystem? I'll credit you of course.

one important note: always prefer using actual actions instead of SetProperty, you can do it all with actions here:



Bye,

 Jean

15
Hi,

 New version is up, fixing these api, Let me know if you run into more trouble.

Bye

 Jean

Pages: [1] 2 3 ... 929