SixDofSpringJoint?

Hi,
maybe I am really blind, but I have seen the SixDofSpringJoint in the javadoc:
http://hub.jmonkeyengine.org/javadoc/com/jme3/bullet/joints/SixDofSpringJoint.html

However, when I look at the jar downloaded from there:
http://hub.jmonkeyengine.org/downloads/download-info/jme3-sdk-mac-2/

I cannot find this class.

Did I miss something?

Thank you.

Yeah, it only exists in the (alpha) native bullet library.

How can I implement it without having to wait for its official release then, please?

Just add the native physics libraries instead of the jbullet ones. Remove the jme3-libraries entry from the projects “Libraries” settings tab and add jme3-physics-native (and all others you need, as you just removed the “combined” library entry).

Sorry I don’t know exactly how to use the classes now I have imported the natives in the Library settings tab :s
How to include them during building?

I have tried using System.load("…/libbulletjme.jnilib") as I am using a Mac, but maybe the lib is for 32bit while I am using a 64bit OSX… ?

Well it should just work. What is the problem? Whats the error output? How do your library settings look now?

Note: I am using NetBeans directly (not the jME IDE).

I removed only the jme3-jbullet.jar and added jme3-jbullet-natives.jar.

My “Libraries” tab has now:

  • jme3-jbullet-natives.jar
    • native.linux
    • native.macosx
      jnibulletjme.jnilib
    • native.windows

I don’t have an Unsatisfied error, but,

[java]
Exception in thread “Animation Thread” java.lang.RuntimeException: Uncompilable source code - cannot find symbol
symbol: class BulletAppState[/java]

That looks… totally messed up… :wink:

Heres a description of the jar files:
https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:jme3_source_structure#structure_of_jmonkeyengine3_jars

Anyway why don’t you just use the SDK? Its NetBeans plus more and these things are preconfigured.

Oh wow, Indeed I am totally messed up tonight.

So I had removed the jme3-jbullet.jar and jbullet.jar and added the jme3-bullet-native.jar…
But in the end, I didn’t have the jme3-bullet.jar anymore :s

Thanks for your help.

I think it’s time for me to go to bed .

Also note the “external dependencies”, you have to add these too for the parts of the engine (jme3-xxx.jar) you’re adding.

erf… now it’s causing a fatal error on my jre.

Here is my console output:

[java]
Feb 12, 2014 2:21:27 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Lwjgl 2.9.0 context running on thread LWJGL Renderer Thread
Feb 12, 2014 2:21:27 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Adapter: null
Feb 12, 2014 2:21:27 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Driver Version: null
Feb 12, 2014 2:21:27 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Vendor: Intel Inc.
Feb 12, 2014 2:21:27 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: OpenGL Version: 2.1 INTEL-8.18.29
Feb 12, 2014 2:21:27 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Renderer: Intel HD Graphics 5000 OpenGL Engine
Feb 12, 2014 2:21:27 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: GLSL Ver: 1.20
Feb 12, 2014 2:21:27 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Device: OpenAL Soft
Feb 12, 2014 2:21:27 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Vendor: OpenAL Community
Feb 12, 2014 2:21:27 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Renderer: OpenAL Soft
Feb 12, 2014 2:21:27 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Version: 1.1 ALSOFT 1.15.1
Feb 12, 2014 2:21:27 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: AudioRenderer supports 64 channels
Feb 12, 2014 2:21:27 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio effect extension version: 1.0
Feb 12, 2014 2:21:27 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio max auxilary sends: 4
Bullet-Native: Initializing java classes
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 728 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 732 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 786 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 790 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 815 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 818 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 819 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 820 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 838 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 839 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 841 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 843 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 844 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 847 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 848 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 849 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 852 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 859 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 860 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 861 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 862 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 889 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,043 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,045 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,048 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,049 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,067 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,069 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,072 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,073 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,269 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,272 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,273 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,277 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,293 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,296 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,298 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,299 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,303 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,305 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,859 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,860 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.scene.plugins.ogre.MeshLoader pushBoneAssign
WARNING: Vertex 1,871 has more than 4 weights per vertex! Ignoring…
Feb 12, 2014 2:21:28 AM com.jme3.bullet.collision.shapes.SphereCollisionShape setScale
WARNING: SphereCollisionShape cannot be scaled
Feb 12, 2014 2:21:28 AM com.jme3.bullet.collision.shapes.SphereCollisionShape setScale
WARNING: SphereCollisionShape cannot be scaled

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x0000000112c9c041, pid=57425, tid=48671

JRE version: 7.0_25-b15

Java VM: Java HotSpot™ 64-Bit Server VM (23.25-b01 mixed mode bsd-amd64 compressed oops)

Problematic frame:

C [libbulletjme.jnilib+0x81041] _ZNK13btConvexShape44localGetSupportVertexWithoutMarginNonVirtualERK9btVector3+0x441

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try “ulimit -c unlimited” before starting Java again

An error report file with more information is saved as:

/Yoyo/hs_err_pid57425.log

If you would like to submit a bug report, please visit:

http://bugreport.sun.com/bugreport/crash.jsp

The crash happened outside the Java Virtual Machine in native code.

See problematic frame for where to report the bug.

Java Result: 134
BUILD SUCCESSFUL (total time: 3 seconds)
[/java]

Seems like the Sinbad model won’t load with the native bullet :frowning:

Are you using nightly or the stable release?

I guess it’s the stable. It’s the one from that page:
http://hub.jmonkeyengine.org/downloads/download-info/jme3-sdk-mac-2/

As I program as a hobby, I have never planned on distributing anything, and I’m not familiar with realtime updating of project builds…
How to get the nightly (if that’s what you suggest) ?

SOrry, I should learn how to read. I found it .

I am not suggesting you should use nightly, no.

oh ok, then I keep my original files?
For now, my only solution to start testing what I can get of SixDofSpringJoint is to remove the Sinbad (that I had just added as a test).