Coding Custom Wheeled Vehicles
You can program custom wheeled vehicles easily in JU TPS
How to create a Custom Wheeled Vehicle script
Create a script that will contain the code of the vehicle.
Use this as example:
This code is an example how you can create your our wheeled vehicle, with engine, brake and steer.
All base system for wheeled vehicles are provided from Vehicle
class.
You must only set the vehicle controls, overriding Update
and pass the wheels to vehicle backend using the UpdateWheelsData
.
After setup this code to the vehicle and assigned all wheels, you will have a full controllable vehicle.
Vehicle Coding Scripting Reference
You can override the base methods to create custom vehicle logic.
Don't forgot to call the base methods inside the override
.
Last updated