How to make it visible in SDK? I have it in my own jar file, made an empty project in sdk, and attached my jar as library. There was a moment when I was able to see it on the list of all available influencers but after restart I can’t do it again.
My influencer have its own parameter. How to make it visible in property list in SDK?
All I need is to create and edit some particle effect and save it to j3o file.
It is in Libraries folder, next to Project Assets, Source Packages and important Files.
To be clear: I can add it manually. When I open dialog box under Particle Influencer property I see the list of JME’s stock influencers. But if I type com.mygame.myutils.MyParticleInfluencer it works - MyParticleInfluencer is attached to Emitter object. And there is another problem - I can see only Default’s particle influencer properties, but I want to have my own there. MyParticleInfluencer extends DefaultParticleInfluencer.
Thanks for finding it. I need to study this code. As I said - I had my influencer on the list but that was just one time situation. Now I’ll know what exactly I need to do to have it back.
Does the j3o format changed in 3.1? If not I should be able to do my stuff in the editor under 3.1, save it and use in my game.
For now the most important things I want to do is to edit particle effects, do imports from both blender and ogre xml files (including animated objects).
I’m unable to move to 3.1 right now because of my custom rendering pipeline and few changes made to the engine. And, as my former guru said: if something is working - do not touch it.
I’ll check your editor in next few days. Thank you.
I never used toneg0d’s stuff because I found that it is easier to write few lines of code on my own than learn another library…
Example: stun effect uses custom influencer which have only 5 lines of code in its main function. Those stars are spinning around monster’s head. The same influencer is used with my spawn aura to place particles around the monster with single emitAll().