Path: MoveAlongSection
Called to move an object along a section.
Note that this function is metric only for the moment.
Function
void MoveAlongSection(
sectionId: integer,
obj: object,
speed: number,
acceleration: number,
deceleration: number,
backward: boolean,
offset: number)
Parameters
Name | Type | Description |
---|---|---|
sectionId | Integer | Id of the section. One based |
obj | Object | Object to be moved on the section |
speed | Number | Max speed in the units chosen when the project was created (metres or feet) |
acceleration | Number | Acceleration from 0 to max speed |
deceleration | Number | Deceleration from max speed to 0 |
backward | Boolean | Boolean to indicate if running backward |
offset | Number | (Not used, Reserved for future development) |
Return Value
None