I am using the tutorial for embedding JMonkeyEngine in an Applet.
My problem is that I want to be able to create Physics objects from the applet itself and they cannot be added immediately
Basically, I have a helper class Helper that associates the canvas from a SimpleApplication to the Applet.
In the Applet, I would like to be able to do the following:
Helper helper=new Helper(this); // creates my JMonkey World (extends SimpleApplication) in a canvas added to the Applet
World world=helper.getApp(); // returns the World , that extends SimpleApplication
I am trying to write kind of a library that wraps JME, so I want the programmer to be able to add a model without having to change anything in the source code of the World extends SimpleApplication…
Is that possible?
I am a physics teaching assistant, and I want to introduce my students to simulation programming with as few programming knowledge as possible. I want to use the Bullet library as a starting point before teaching the hardcore equations.