Script v1_7_1_0
- AI
- Animals
- Collections
- Contracts
- Debug
- Economy
- Elements
- EnvironmentalScore
- Errors
- Events
- GUI
- Handtools
- Hud
- I3d
- Input
- Jobs
- Maps
- Materials
- Misc
- Objects
- Parameters
- Placeables
- Placement
- Player
- Shop
- Sounds
- Specialization
- Specializations
- StateMachine
- Statistics
- Tasks
- Triggers
- Utils
- Vehicles
Engine v1_7_1_0
- AI
- Animation
- Camera
- Entity
- Fillplanes
- general
- General
- I3D
- Input
- Lighting
- Math
- Network
- Node
- NoteNode
- Overlays
- Particle System
- Physics
- Rendering
- Scenegraph
- Shape
- Sound
- Spline
- getClosestSplinePosition
- getIsSplineClosed
- getLocalClosestSplinePosition
- getSplineCV
- getSplineDirection
- getSplineLength
- getSplineNumOfCV
- getSplineOrientation
- getSplinePosition
- getSplinePositionWithDistance
- String
- Terrain Detail
- Text Rendering
- Tire Track
- VoiceChat
- XML
Foundation Reference
getLocalClosestSplinePosition
DescriptionGet closest world space position and time on spline to given world space positionDefinition
getLocalClosestSplinePosition(integer shapeId, float time, float timeRange, float worldX, float worldY, float worldZ, float eps)Arguments
integer | shapeId | shapeId |
float | time | |
float | timeRange | (searches in -/+ 0.5*range) |
float | worldX | |
float | worldY | |
float | worldZ | |
float | eps | world space error |
float | worldX | |
float | worldY | |
float | worldZ | |
float | time |