Two new jMP plugins

Hi everyone. Here are 2 new jmp plugins that will be available to install via tools- plugins - available plugins.

The first plugin is the “PhysicsEditor”, that allow to edit physics parameters of meshes, create collision shapes, do several tests and etc.

The second plugin is the “MeshTools” that allow add some meshes to the current scene in a step magic ;).



http://www.youtube.com/watch?v=yS9a9o4WzL8



Here are the demo video that shows the features of these plugins.

4 Likes

Wohoo, plugin contributions! The packages aren’t in quite yet though are they? I checked for updates and I’m not seeing these in there yet. Will check again tomorrow morning.



I would strongly recommend adding a piece of music to the video though, it adds more to the viewing experience than you might think. By the way I’m gonna get better at favoriting (which also means auto-tweeting) good user videos from now on, starting with yours :slight_smile:

Great work!!!

I checked for updates and I’m not seeing these in there yet. Will check again tomorrow morning.

Ok. I already commit my plugins to svn repository, but i don’t know why them still aren’t available to install via tools- plugins- available plugins…

It takes time, ok?

It might be the build crashes because of version incompatibilities, on the server is actually a NB 6.9 version instead instead of NB 6.9.1. It would not compile your plugin at the moment, so we’ll have to wait until we update the servers version anyway.

Hey you, i don’t know if you noted when watched that video, but there’s anything strange in the physics editor… the property sheets of the kinds of JmeCollisionShape, and ChildCollisionShape doesn’t works fine.

For example :

  • If a BoxCollisionShape has Scale = [1.0, 1.0, 1.0], and i change it to [10.0, 10.0, 10.0], the scale property changes fine, but the scale of the BoxCollisionShape keeps the same, until i change the scale = [10.0, 10.0, 10.0] to scale = [?, ?, ?] (any another value) … and now is changed to [10.0, 10.0, 10.0] instead changed to [?, ?, ?] (the new value). Then if someone can help me… i’ll waiting ;).

Hi glaucomardano, These are nice tools. I already know how I’m going to use them.



Keep up the good work ! :slight_smile:

@Norman: When do you think you can upgrade the server ? I really want to use these plug-ins.



Thanks in advance.

You can checkout and compile them.

The website says this to check-out jME:

svn checkout http://jmonkeyengine.googlecode.com/svn/trunk/ jmonkeyengine-read-only



Should I use this too for the jME contributions depot ?

Its a big “module suite”, so best you check out the whole thing, yeah. Otherwise its similar to compiling jmp, you should checkout the trunk folder to where you have your jme3 and jme3-gde projects.

Many funcions were implemented, and now i’m implementing functions for physics vehicle nodes. Look at the screeshot below :







But the attributes of the physics vehicle wheel has private access, so i can’t access them through setters to create them property sheets…

Then can you change them to protected access Normen? Here are the attributes :



[java]

public class PhysicsVehicleWheel extends com.jme3.bullet.nodes.PhysicsVehicleWheel{



public PhysicsVehicleWheel() {

super();

}



public PhysicsVehicleWheel(Vector3f location, Vector3f direction, Vector3f axle, float restLenght, float radius, boolean frontWheel) {

super(location, direction, axle, restLenght, radius, frontWheel);

}



public PhysicsVehicleWheel(Spatial spatial, Vector3f location, Vector3f direction, Vector3f axle, float restLenght, float radius, boolean frontWheel) {

super(spatial, location, direction, axle, restLenght, radius, frontWheel);

}



}

[/java]

If a setter is missing it usually means something, you’ll have to do it with what is available. Bullet itself doesnt allow removing of wheels for example.

normen said:
It might be the build crashes because of version incompatibilities, on the server is actually a NB 6.9 version instead instead of NB 6.9.1. It would not compile your plugin at the moment, so we'll have to wait until we update the servers version anyway.


The problem might be this too : - In the jmp or a netbeans 6.7 version when i go via module suite --> properties --> libralies... i find the following problem :



I installed the netbeans 6.9.1 version and this problem don't happens :



This problem happens on the server too? Or just in my jmp ?

Please, add your video (MeshTools and PhysicsEditor - YouTube) to our documentation!!!



here - https://wiki.jmonkeyengine.org/legacy/doku.php/jme3



Please!!!

@glaucomardano: No, it shouldnt happen. With NetBeans 6.7 maybe, but not with jMP.

Many changes were made so far, then i’ll create a new video and add it to jme tutorial videos. But first these plugins must be available to install in jmp via tools - plugins - available plugins… Then i’m trying detect the problem in wich my plugins doesn’t been compiled on jmp server ;).

That doesnt work. The version problem has to be overcome to allow adding the plugin to the repo.

What you should do is change all dependency version numbers to a lower number, it should work. So if the Lookups dependency is on 8.3.2 for example, set it to 8.2, then it should compile.

Hey, the nbproject/project.properties of my working copy there’s my modules ( physics editor, mesh tools, jmeguiforms, swingx ) as modules, but the jmp-contribuitions/svn/trunk/nbproject/project.properties there isn’t. Why? I have to commit not only my modules but my working copy too ( that’s the trunk checked out by me )?

No, the plugins are simply not in the compile, because they threw errors. Did you change those version numbers yet?