Avorion Script API Documentation

Ray

function Ray(vec3 pos, vec3 size)

Returns

A new instance of Ray

property vec3 direction
property vec3 origin
property float planeIntersectionThickness

function float distanceToPoint(vec3 point)

function float distanceToPoint2(vec3 point)

function var findClosestPoints(Ray other, vec3 onSelf, vec3 onOther)

Returns

nothing

function vec3, float projectPoint(vec3 point)

Overview
Home Functions Search
Search:

This is the official documentation for the scripting API of Avorion. This documentation is automatically generated and not necessarily complete. Depending on the context in which functions exist, some documentation such as descriptions, return values or variable names or types may be missing.

Work in Progress. Documentation of Avorion Version: 2.5.7 c8e4beec84f7