Playmaker Forum
PlayMaker Updates & Downloads => Share New Actions => Topic started by: cwmanley on February 23, 2016, 04:44:26 PM
-
Particles Move Towards Game Object, Mesh, and Skinned Mesh.
On the Ecosystem or https://snipt.net/cwmanley/ //TODO
With the Mesh and Skinned Mesh Actions you get all the vertices, a simple cube has 24 vertices instead of 8.
I found a solution using Linq.
Is there any problems with using Linq in Playmaker Actions.
Thanks
-
Cool action! Thanks :)
-
Hey thanks for the actions,
I have been told that Linq causes performace issues on mobile devices and should always be avoided...
;)
-
Thanks,
I have some working solutions I just need to apply them to the actions.
Remove Duplicates.
(Looping through the array and removing the duplicates boosts performance for the Mesh, but the Skinned Mesh becomes slightly more expensive :( .)
Limit particles to Vertex Count.
Is there anything else that would be handy?
:)
-
maybe (have not seen the code), make sure to use 'for' for the array loops (do not use while, it is slower) :-\