This looks really cool.
I’m going to try this when it’s in the nightly build.
- Select a j3o that contains a vehicle model and press the vehicle button (or right-click → edit vehicle)
- The VehicleCreator automatically adds a PhysicsVehicleControl to the rootNode of the model if there is none
- Select the Geometry or Node that contains the chassis in the SceneExplorer and press “create hull shape from selected”
- Select a Geometry that contains a wheel and press “make selected spatial wheel”, select the “front wheel” checkboxes for front wheels
- Do so for all wheels
New wheels will get the current suspension settings, you can edit single wheels via the SceneExplorer (update VehicleControl if wheels dont show up) or apply settings created with the settings generator to wheel groups. Also look at the tooltips when hovering the mouse over an option for more hints.
Press the “test vehicle” button to drive the vehicle, use WASD to control, Enter to reset.
Known Issues: Dont save while testing the vehicle, you will save the location and acceleration info in the j3o.
What’s still missing is a road system.
What's still missing is a road system.
This should go inside of Terramonkey.
This should go inside of Terramonkey
It’s a recommendation / request. Troubleshooting sounds that it is intended only for technical questions.
But if this is the right area, feel free to move it to that area or tell me how to do it.
i get this when i trie to edit a vehicle:[java]java.lang.NullPointerException
[catch] at com.jme3.gde.vehiclecreator.EditVehicleAction$1$1.run(EditVehicleAction.java:48)
[/java]am I doing something wrong?
Can you open that j3o file in the SceneComposer?
it’s a scene containing a car model and 4 wheel models.
Are they linked nodes by any chance?
no, they are all added to the scene, not linked
Does that happen also when you open a new empty scene with the vehicle editor?
No idea, the stacktrace is not particularly helpful
Ok, found it, it was an outdated j3o for the raceway
I need to try this some time My little nephew would love some type of simulated monster truck game
is there a way to add the wheels without them being moved to a random position?
The positon is not random but based on the center of the BoundingVolume of the selected Spatial. Please make more specific bugreports, did you try not to select the “make node and center” checkbox?
yes, and it does exactely the same
and when i try to test my car, it starts bouncing.
sorry for all of this posts, but i can’t find the solitions to this problems here.
This is a really cool tool normen Any idea of when there will be an update / sample for using a created vehicle with jME?