I offer to use toneg0d.emitter library, it provides more advanced particles API and I provide supporting of this library. Also, jMB has very good integration with it.
jMB has integration with the default particle system as well, so, can you play with this problem in jMB? I just want to know how much relevant this problem for jME 3.2
Your example works for me (particle emitter moving back and forth, emitting particles upwards).
I’m building from master (a couple of weeks old)
Edit: I also tried TestMovingParticle, which is a similar use case and it also worked fine
Edit 2: My latest pull was on Dec 5th
I’ve tested the sample code with both JME 3.1.0-stable and JME 3.2.0-alpha3, and it behaved as I expected it to.
If your build is based on ‘master’ branch of JME as of 12 December 2017, then you’re not using 3.1; you’re using a build equivalent to JME 3.2.0-alpha3.
I think there is more things to do in the SDK to have the latest engine version to be taken into account when you create a new project (@Darkchaos could you confirm?)
When you run the app at the beginning of the log you have the version / git hash and build date of your JME version could you post that here please?
You actually use gradle which invokes ant for you, you need gradlew buildSdk first since it creates the .xml files ant or netbeans (which uses ant internally) need. So same method, including gradlew buildSdk
I did however notice that the sdk needs to pull its own jme and build it into the engine folder, is that correct?
And does it use that build as jME engine libs?
That is what I thought but when I run the build this is what happens.
Do you have any idea?
C:\workspaces\privatework\gitprojects\sdk>gradlew buildSdk
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.11/userguide/gradle_da
emon.html.
Full Version: 3.2-1776
POM Version: 3.2.0-SNAPSHOT
NBM Revision: 1776
NBM UC Suffix: nightly/3.2/plugins
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\workspaces\privatework\gitprojects\sdk\build.gradle' line: 342
* What went wrong:
A problem occurred evaluating root project 'sdk'.
> Could not resolve all dependencies for configuration ':optlibs'.
> Could not resolve org.jmonkeyengine:jme3-jbullet:3.2.0-SNAPSHOT.
Required by:
:sdk:unspecified
> Could not resolve org.jmonkeyengine:jme3-jbullet:3.2.0-SNAPSHOT.
> Could not parse POM file:/C:/Users/Nidebruyn/.m2/repository/org/jmonkeyengine/jme3-jbullet/3.2.0-SNAPSHOT/jme3-jbullet-3.2.0-SNAPSHOT.pom
> Unable to resolve version for dependency 'jbullet:jbullet:jar'
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 16.118 secs