User contributions
(Latest | Earliest) View (newer 50 | older 50) (20 | 50 | 100 | 250 | 500)
- 17:39, 11 April 2012 (diff | hist) N IsCollisionBetween (Created page with "Example 1 : On collision between two objects, display "Collision detected" in maratis console window. object1 = getObject("object1") object2 = getObject("object2") ...")
- 17:34, 11 April 2012 (diff | hist) N SetText (Created page with "Displaying text. Can be used to display any kind of info : Objects collisions & coordinates, timers, messages, well anything you want. Example 1 : Simple timer display. Make ...")
- 17:32, 11 April 2012 (diff | hist) N AddCentralForce (Created page with "Add a force than an object. Make sure Physics and the mass of the object is enabled in the object proprieties, otherwise it won't move. Example 1 : Simple usage object =...")
- 02:03, 11 April 2012 (diff | hist) N Deactivate (Created page with "Deactivate an object. object = getObject("object") function onSceneUpdate() if isKeyPressed("UP") then activate(object) end if isKeyPressed("DOWN") t...")
- 02:02, 11 April 2012 (diff | hist) N Activate (Created page with "Activates an object wich was already in the 3d scene but deactivated. object = getObject("object") deactivate(object) function onSceneUpdate() if isKeyPr...")
- 01:54, 11 April 2012 (diff | hist) N GetLightIntensity (Created page with "Get the light intensity. Light0 = getObject("Light0") -- Scene update function onSceneUpdate() flash = getLightIntensity(Light0) -- you can rename flash ...")
- 01:53, 11 April 2012 (diff | hist) N SetLightIntensity (Created page with "Modify the light intensity. Example 1 : With the help of a timer, the light intensity will increase & decrease over time. Light0 = getObject("Light0") t = 0 --...")
- 01:49, 11 April 2012 (diff | hist) N GetCameraFov (Created page with "Get the camera field of view. Camera = getObject("Camera") -- Scene update function onSceneUpdate() cFOV = getCameraFov(Camera) -- you can rename cFOV to...")
- 01:47, 11 April 2012 (diff | hist) N SetCameraFov (Created page with "Change the camera field of view. Example, Press Up & Down to change the Camera Field of view : Camera = getObject("Camera") -- Scene update function onSceneUpda...")
- 01:42, 11 April 2012 (diff | hist) m GetObject
- 00:41, 11 April 2012 (diff | hist) m GetPosition
- 00:40, 11 April 2012 (diff | hist) N GetPosition (Created page with "Get the current object position in 3d space. Then you can use your object coordinates like this : objectpos[1] : X position objectpos[2] : Y position objectpos[3] : Z po...")
- 00:37, 11 April 2012 (diff | hist) N SetPosition (Created page with "Set an object to a given position. Example 1 : This script will move an object to another object. getPosition is used to determinate the first object (the target) position. ...")
- 00:36, 11 April 2012 (diff | hist) N Translate (Created page with "Simply Translate the object in 3d space, the 3 zeros are X,Y,Z values. Example 1 Continuous translation : object = getObject("object") -- Scene update function ...")
- 00:33, 11 April 2012 (diff | hist) N Rotate (Created page with "Rotates the object. The first 3 zeros are X,Y,Z values and the last is the angle. To increase rotating speed, put higher value at angle. Example 1 : Continuous rotation ...")
- 00:32, 11 April 2012 (diff | hist) N GetObject (Created page with "Any object you want to apply an action must be declared with getObject. Eg. If you try to translate an object without declaring it first, nothing will happen. To declare an...")
(Latest | Earliest) View (newer 50 | older 50) (20 | 50 | 100 | 250 | 500)