This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mmoalt_lib [2015/08/26 14:22] – mmoalt | mmoalt_lib [2015/09/15 11:57] (current) – mmoalt | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== ObstacleManager ===== | ===== ObstacleManager ===== | ||
| - | ObstacleManager.AddObstacle(id, pos, [radius, duration])\\ | + | ObstacleManager.AddObstacle({\\ |
| - | ObstacleManager.GetObstacleById(id)\\ | + | name = nil, -- Required\\ |
| - | ObstacleManager.RemoveObstacleById(id)\\ | + | pos = nil, -- Required\\ |
| - | ObstacleManager.AddTest([id, pos, radius, duration])\\ | + | radius |
| + | duration | ||
| + | split = false,\\ | ||
| + | splitRadius = 150,\\ | ||
| + | splitAngle = 45\\ | ||
| + | })\\ | ||
| + | ObstacleManager.GetObstacleByName(name)\\ | ||
| + | ObstacleManager.RemoveObstacleByName(name)\\ | ||
| + | ObstacleManager.AddTest(args)\\ | ||
| ObstacleManager.ClearLog()\\ | ObstacleManager.ClearLog()\\ | ||
| Calls events:\\ | Calls events:\\ | ||
| - | " | + | " |
| - | " | + | " |
| - | " | + | " |
| - | " | + | " |
| " | " | ||
| + | " | ||
| + | " | ||
| ===== ChatManager ===== | ===== ChatManager ===== | ||
| Line 45: | Line 55: | ||
| EventManager.Listen(eventname, | EventManager.Listen(eventname, | ||
| EventManager.Trigger(eventname, | EventManager.Trigger(eventname, | ||
| + | |||
| + | ===== Quaternion ===== | ||
| + | Quaternion.Create([x, | ||
| + | Quaternion: | ||
| + | Quaternion: | ||
| + | Quaternion: | ||