When I test the “TestPhysicsHingeJoint.java” program (Google Code Archive - Long-term storage for Google Code Project Hosting.) specified in “jMonkeyEngine.org Physical Hinges and Joints” (https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:hinges_and_joints) in jme3 (downloaded from http://hub.jmonkeyengine.org/downloads/), the jme3 SDK complains that the symbol/variable “PhysicsTestHelper” is not found. The error occurs in the following 2 lines :
Node holderNode = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(.1f, .1f, .1f)), 0);
Node hammerNode = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(.3f, .3f, .3f)), 1);
Does anyone know that where could I find the “PhysicsTestHelper” class ?
Am I not using the most current version of jme3 or the “TestPhysicsHingeJoint.java” has a newer correct version ?
Thanks for any suggestion.
It works fine with the latest nightly build, you should update your jME3 version
Seems like you just copied the test class and not the helper class, its also in the tests folder.
Thanks for your suggestion. I am using the “jME3_SDK_Alpha-4-windows.exe” to install my jMonkeyEngine SDK in Windows XP. Where could I find the latest nightly build ?
Did you not see the big hint at the beginning about updating? Check the manual about updating (press F1).
Hi normen and nehon,
I have updated to the latest nightly build and it now works. Thanks.