Best results when car is facing in z direction (towards you)
Usage:
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.
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.
Code Example to load vehicle:
//load vehicle and access VehicleControl Spatial car=assetManager.loadModel("Models/MyCar.j3o"); VehicleControl control=car.getControl(VehicleControl.class); rootNode.attachChild(car); physicsSpace.add(control); //then use the control to control the vehicle: control.setPhysicsLocation(new Vector3f(10,2,10)); control.accelerate(100);