Script v1.7.1.0
- AI
- Animals
- Contracts
- Debug
- Economy
- Effects
- Events
- Farms
- GUI
- Handtools
- I3d
- Materials
- Misc
- Objects
- Placeables
- Player
- Shop
- Sounds
- Specializations
- Triggers
- Utils
- Vehicles
- Weather
Engine v1.7.1.0
- AI
- Animation
- Camera
- Entity
- Fillplanes
- General
- I3D
- Input
- Lighting
- Math
- Network
- Node
- Overlays
- Particle System
- Physics
- Rendering
- Scenegraph
- Shape
- Sound
- Spline
- getIsSplineClosed
- getLocalClosestSplinePosition
- getSplineCV
- getSplineDirection
- getSplineLength
- getSplineNumOfCV
- getSplineOrientation
- getSplinePosition
- getSplinePositionWithDistance
- String
- Terrain Detail
- Text Rendering
- Tire Track
- XML
- general
Foundation Reference
getLocalClosestSplinePosition
DescriptionGet closest world space position and time on spline to given world space positionDefinition
getLocalClosestSplinePosition(integer shapeId, float time, float time, float worldX, float worldY, float worldZ, float eps)Arguments
integer | shapeId | shapeId |
float | time | |
float | time | range (searches in -/+ 0.5*range) |
float | worldX | |
float | worldY | |
float | worldZ | |
float | eps | world space |
worldX | float | |
worldY | float | |
worldZ | float | |
time | float |