Skip to content
philllies edited this page Apr 6, 2014 · 5 revisions

Welcome to the velonaut wiki!

Lua functions

Vector, Matrix

App

find(name) delete(name) load(name) create(name)

Scene

find(name) delete(name) create(name) getLights()

GameObject

GameObject(name) getName() setName(name) addComponent(component) Component getComponent() getParent() setParent() setTransform() getTransform() getWorldTransform()

Component

Component(name) GameObject getOwner()

Camera

Camera() lookAt() getter/setters (eye, near, far, projection)

Renderer

Renderer(material, mesh) sync()

Physics

getter/setters (velocity, acceleration, force etc.)

Collider

enable() disable()

different subclasses: Sphere, Ellipses

Behavior

init() update() start() onMouse() onKeyboard() onCollision()