 |
RigsofRods
2023.09
Soft-body Physics Simulation
|
Go to the documentation of this file.
66 void addWaypoint(
string const&in
id, vector3
const&in pos);
82 void addEvent(
string const&in
id,
int ev);
void setActive(bool value)
Activates/Deactivates the AI.
void addWaypoints(dictionary &in d)
Adds a dictionary with waypoints.
vector3 getTranslation(int offset, unsigned int wp)
Gets offset translation based on vehicle rotation and waypoints.
Binding of RoR::VehicleAI; Vehicle driving AI using waypoints.
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
bool isActive()
Returns the status of the AI.
void setValueAtWaypoint(string const &in id, int value_id, float value)
Sets a value at a waypoint.
void addWaypoint(string const &in id, vector3 const &in pos)
Adds one waypoint.
void addEvent(string const &in id, int ev)
Adds a event.