@defold-typescript/types 0.53.0 → 0.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (335) hide show
  1. package/dist/cli-runtime.js +8966 -0
  2. package/dist/identity-vocabulary.json +660 -0
  3. package/dist/src/index.d.ts +18 -0
  4. package/fixtures/defold-1.12.4/b2d_body_doc.json +1327 -0
  5. package/fixtures/defold-1.12.4/b2d_doc.json +107 -0
  6. package/fixtures/defold-1.12.4/base_doc.json +758 -0
  7. package/fixtures/defold-1.12.4/bit_doc.json +404 -0
  8. package/fixtures/defold-1.12.4/buffer_doc.json +422 -0
  9. package/fixtures/defold-1.12.4/camera_doc.json +664 -0
  10. package/fixtures/defold-1.12.4/collectionfactory_doc.json +219 -0
  11. package/fixtures/defold-1.12.4/collectionproxy_doc.json +289 -0
  12. package/fixtures/defold-1.12.4/coroutine_doc.json +151 -0
  13. package/fixtures/defold-1.12.4/crash_doc.json +497 -0
  14. package/fixtures/defold-1.12.4/debug_doc.json +410 -0
  15. package/fixtures/defold-1.12.4/factory_doc.json +219 -0
  16. package/fixtures/defold-1.12.4/font_doc.json +141 -0
  17. package/fixtures/defold-1.12.4/globals_doc.json +42 -0
  18. package/fixtures/defold-1.12.4/go-instance-functions.json +111 -0
  19. package/fixtures/defold-1.12.4/go_doc.json +1901 -0
  20. package/fixtures/defold-1.12.4/graphics_doc.json +1634 -0
  21. package/fixtures/defold-1.12.4/gui_doc.json +5249 -0
  22. package/fixtures/defold-1.12.4/html5_doc.json +64 -0
  23. package/fixtures/defold-1.12.4/http_doc.json +66 -0
  24. package/fixtures/defold-1.12.4/image_doc.json +170 -0
  25. package/fixtures/defold-1.12.4/io_doc.json +399 -0
  26. package/fixtures/defold-1.12.4/json_doc.json +97 -0
  27. package/fixtures/defold-1.12.4/label_doc.json +220 -0
  28. package/fixtures/defold-1.12.4/liveupdate_doc.json +308 -0
  29. package/fixtures/defold-1.12.4/math_doc.json +702 -0
  30. package/fixtures/defold-1.12.4/messages_doc.json +579 -0
  31. package/fixtures/defold-1.12.4/model_doc.json +315 -0
  32. package/fixtures/defold-1.12.4/msg_doc.json +137 -0
  33. package/fixtures/defold-1.12.4/os_doc.json +266 -0
  34. package/fixtures/defold-1.12.4/package_doc.json +139 -0
  35. package/fixtures/defold-1.12.4/particlefx_doc.json +249 -0
  36. package/fixtures/defold-1.12.4/physics_doc.json +1120 -0
  37. package/fixtures/defold-1.12.4/profiler_doc.json +375 -0
  38. package/fixtures/defold-1.12.4/render_doc.json +1167 -0
  39. package/fixtures/defold-1.12.4/resource_doc.json +762 -0
  40. package/fixtures/defold-1.12.4/socket_doc.json +2194 -0
  41. package/fixtures/defold-1.12.4/sound_doc.json +582 -0
  42. package/fixtures/defold-1.12.4/sprite_doc.json +245 -0
  43. package/fixtures/defold-1.12.4/string_doc.json +412 -0
  44. package/fixtures/defold-1.12.4/sys_doc.json +853 -0
  45. package/fixtures/defold-1.12.4/table_doc.json +166 -0
  46. package/fixtures/defold-1.12.4/tilemap_doc.json +374 -0
  47. package/fixtures/defold-1.12.4/timer_doc.json +153 -0
  48. package/fixtures/defold-1.12.4/types_doc.json +212 -0
  49. package/fixtures/defold-1.12.4/vmath_doc.json +1814 -0
  50. package/fixtures/defold-1.12.4/window_doc.json +388 -0
  51. package/fixtures/defold-1.12.4/zlib_doc.json +70 -0
  52. package/fixtures/defold-1.13.0/b2d_body_doc.json +2428 -0
  53. package/fixtures/defold-1.13.0/b2d_chain_doc.json +394 -0
  54. package/fixtures/defold-1.13.0/b2d_doc.json +128 -0
  55. package/fixtures/defold-1.13.0/b2d_fixture_doc.json +594 -0
  56. package/fixtures/defold-1.13.0/b2d_joint_doc.json +3315 -0
  57. package/fixtures/defold-1.13.0/b2d_shape_doc.json +802 -0
  58. package/fixtures/defold-1.13.0/b2d_world_doc.json +1314 -0
  59. package/fixtures/defold-1.13.0/base_doc.json +758 -0
  60. package/fixtures/defold-1.13.0/bit_doc.json +404 -0
  61. package/fixtures/defold-1.13.0/buffer_doc.json +422 -0
  62. package/fixtures/defold-1.13.0/camera_doc.json +900 -0
  63. package/fixtures/defold-1.13.0/collectionfactory_doc.json +219 -0
  64. package/fixtures/defold-1.13.0/collectionproxy_doc.json +289 -0
  65. package/fixtures/defold-1.13.0/compute_doc.json +182 -0
  66. package/fixtures/defold-1.13.0/coroutine_doc.json +151 -0
  67. package/fixtures/defold-1.13.0/crash_doc.json +497 -0
  68. package/fixtures/defold-1.13.0/debug_doc.json +410 -0
  69. package/fixtures/defold-1.13.0/editor_doc.json +3665 -0
  70. package/fixtures/defold-1.13.0/editor_http_doc.json +273 -0
  71. package/fixtures/defold-1.13.0/editor_json_doc.json +59 -0
  72. package/fixtures/defold-1.13.0/editor_localization_doc.json +138 -0
  73. package/fixtures/defold-1.13.0/editor_pprint_doc.json +36 -0
  74. package/fixtures/defold-1.13.0/editor_tilemap_tiles_doc.json +235 -0
  75. package/fixtures/defold-1.13.0/editor_zip_doc.json +163 -0
  76. package/fixtures/defold-1.13.0/editor_zlib_doc.json +48 -0
  77. package/fixtures/defold-1.13.0/factory_doc.json +219 -0
  78. package/fixtures/defold-1.13.0/font_doc.json +141 -0
  79. package/fixtures/defold-1.13.0/globals_doc.json +42 -0
  80. package/fixtures/defold-1.13.0/go-instance-functions.json +101 -0
  81. package/fixtures/defold-1.13.0/go_doc.json +1989 -0
  82. package/fixtures/defold-1.13.0/graphics_doc.json +1886 -0
  83. package/fixtures/defold-1.13.0/gui_doc.json +5277 -0
  84. package/fixtures/defold-1.13.0/html5_doc.json +64 -0
  85. package/fixtures/defold-1.13.0/http_doc.json +66 -0
  86. package/fixtures/defold-1.13.0/image_doc.json +170 -0
  87. package/fixtures/defold-1.13.0/import-manifest.json +10558 -0
  88. package/fixtures/defold-1.13.0/io_doc.json +399 -0
  89. package/fixtures/defold-1.13.0/json_doc.json +97 -0
  90. package/fixtures/defold-1.13.0/label_doc.json +220 -0
  91. package/fixtures/defold-1.13.0/liveupdate_doc.json +330 -0
  92. package/fixtures/defold-1.13.0/material_doc.json +238 -0
  93. package/fixtures/defold-1.13.0/math_doc.json +702 -0
  94. package/fixtures/defold-1.13.0/model_doc.json +412 -0
  95. package/fixtures/defold-1.13.0/msg_doc.json +137 -0
  96. package/fixtures/defold-1.13.0/os_doc.json +266 -0
  97. package/fixtures/defold-1.13.0/package_doc.json +139 -0
  98. package/fixtures/defold-1.13.0/particlefx_doc.json +249 -0
  99. package/fixtures/defold-1.13.0/physics_doc.json +1492 -0
  100. package/fixtures/defold-1.13.0/profiler_doc.json +375 -0
  101. package/fixtures/defold-1.13.0/render_doc.json +1381 -0
  102. package/fixtures/defold-1.13.0/resource_doc.json +762 -0
  103. package/fixtures/defold-1.13.0/socket_doc.json +2194 -0
  104. package/fixtures/defold-1.13.0/sound_doc.json +582 -0
  105. package/fixtures/defold-1.13.0/sprite_doc.json +335 -0
  106. package/fixtures/defold-1.13.0/string_doc.json +412 -0
  107. package/fixtures/defold-1.13.0/sys_doc.json +1142 -0
  108. package/fixtures/defold-1.13.0/table_doc.json +166 -0
  109. package/fixtures/defold-1.13.0/tilemap_doc.json +402 -0
  110. package/fixtures/defold-1.13.0/timer_doc.json +153 -0
  111. package/fixtures/defold-1.13.0/types_doc.json +212 -0
  112. package/fixtures/defold-1.13.0/vmath_doc.json +1814 -0
  113. package/fixtures/defold-1.13.0/window_doc.json +388 -0
  114. package/fixtures/defold-1.13.0/zlib_doc.json +70 -0
  115. package/fixtures/defold-1.13.1/b2d_body_doc.json +2428 -0
  116. package/fixtures/defold-1.13.1/b2d_chain_doc.json +394 -0
  117. package/fixtures/defold-1.13.1/b2d_doc.json +128 -0
  118. package/fixtures/defold-1.13.1/b2d_fixture_doc.json +594 -0
  119. package/fixtures/defold-1.13.1/b2d_joint_doc.json +3315 -0
  120. package/fixtures/defold-1.13.1/b2d_shape_doc.json +802 -0
  121. package/fixtures/defold-1.13.1/b2d_world_doc.json +1314 -0
  122. package/fixtures/defold-1.13.1/base_doc.json +758 -0
  123. package/fixtures/defold-1.13.1/bit_doc.json +404 -0
  124. package/fixtures/defold-1.13.1/buffer_doc.json +422 -0
  125. package/fixtures/defold-1.13.1/camera_doc.json +900 -0
  126. package/fixtures/defold-1.13.1/collectionfactory_doc.json +219 -0
  127. package/fixtures/defold-1.13.1/collectionproxy_doc.json +323 -0
  128. package/fixtures/defold-1.13.1/compute_doc.json +182 -0
  129. package/fixtures/defold-1.13.1/coroutine_doc.json +151 -0
  130. package/fixtures/defold-1.13.1/crash_doc.json +497 -0
  131. package/fixtures/defold-1.13.1/debug_doc.json +410 -0
  132. package/fixtures/defold-1.13.1/editor_doc.json +3880 -0
  133. package/fixtures/defold-1.13.1/editor_http_doc.json +273 -0
  134. package/fixtures/defold-1.13.1/editor_image_doc.json +128 -0
  135. package/fixtures/defold-1.13.1/editor_json_doc.json +59 -0
  136. package/fixtures/defold-1.13.1/editor_localization_doc.json +138 -0
  137. package/fixtures/defold-1.13.1/editor_pprint_doc.json +36 -0
  138. package/fixtures/defold-1.13.1/editor_tilemap_tiles_doc.json +235 -0
  139. package/fixtures/defold-1.13.1/editor_zip_doc.json +163 -0
  140. package/fixtures/defold-1.13.1/editor_zlib_doc.json +48 -0
  141. package/fixtures/defold-1.13.1/factory_doc.json +219 -0
  142. package/fixtures/defold-1.13.1/font_doc.json +141 -0
  143. package/fixtures/defold-1.13.1/globals_doc.json +42 -0
  144. package/fixtures/defold-1.13.1/go-instance-functions.json +102 -0
  145. package/fixtures/defold-1.13.1/go_doc.json +1989 -0
  146. package/fixtures/defold-1.13.1/graphics_doc.json +1886 -0
  147. package/fixtures/defold-1.13.1/gui_doc.json +5277 -0
  148. package/fixtures/defold-1.13.1/html5_doc.json +64 -0
  149. package/fixtures/defold-1.13.1/http_doc.json +66 -0
  150. package/fixtures/defold-1.13.1/image_doc.json +170 -0
  151. package/fixtures/defold-1.13.1/import-manifest.json +10091 -0
  152. package/fixtures/defold-1.13.1/io_doc.json +399 -0
  153. package/fixtures/defold-1.13.1/json_doc.json +97 -0
  154. package/fixtures/defold-1.13.1/label_doc.json +220 -0
  155. package/fixtures/defold-1.13.1/liveupdate_doc.json +330 -0
  156. package/fixtures/defold-1.13.1/material_doc.json +238 -0
  157. package/fixtures/defold-1.13.1/math_doc.json +702 -0
  158. package/fixtures/defold-1.13.1/model_doc.json +412 -0
  159. package/fixtures/defold-1.13.1/msg_doc.json +137 -0
  160. package/fixtures/defold-1.13.1/os_doc.json +266 -0
  161. package/fixtures/defold-1.13.1/package_doc.json +139 -0
  162. package/fixtures/defold-1.13.1/particlefx_doc.json +249 -0
  163. package/fixtures/defold-1.13.1/physics_doc.json +1492 -0
  164. package/fixtures/defold-1.13.1/profiler_doc.json +375 -0
  165. package/fixtures/defold-1.13.1/render_doc.json +1381 -0
  166. package/fixtures/defold-1.13.1/resource_doc.json +762 -0
  167. package/fixtures/defold-1.13.1/socket_doc.json +2194 -0
  168. package/fixtures/defold-1.13.1/sound_doc.json +582 -0
  169. package/fixtures/defold-1.13.1/sprite_doc.json +335 -0
  170. package/fixtures/defold-1.13.1/string_doc.json +412 -0
  171. package/fixtures/defold-1.13.1/sys_doc.json +1142 -0
  172. package/fixtures/defold-1.13.1/table_doc.json +166 -0
  173. package/fixtures/defold-1.13.1/tilemap_doc.json +402 -0
  174. package/fixtures/defold-1.13.1/timer_doc.json +153 -0
  175. package/fixtures/defold-1.13.1/types_doc.json +212 -0
  176. package/fixtures/defold-1.13.1/vmath_doc.json +1814 -0
  177. package/fixtures/defold-1.13.1/window_doc.json +388 -0
  178. package/fixtures/defold-1.13.1/zlib_doc.json +70 -0
  179. package/fixtures/defold-1.13.2/b2d_body_doc.json +2359 -0
  180. package/fixtures/defold-1.13.2/b2d_chain_doc.json +395 -0
  181. package/fixtures/defold-1.13.2/b2d_doc.json +1945 -0
  182. package/fixtures/defold-1.13.2/b2d_fixture_doc.json +595 -0
  183. package/fixtures/defold-1.13.2/b2d_joint_doc.json +3178 -0
  184. package/fixtures/defold-1.13.2/b2d_shape_doc.json +767 -0
  185. package/fixtures/defold-1.13.2/b2d_world_doc.json +1315 -0
  186. package/fixtures/defold-1.13.2/base_doc.json +759 -0
  187. package/fixtures/defold-1.13.2/bit_doc.json +405 -0
  188. package/fixtures/defold-1.13.2/buffer_doc.json +393 -0
  189. package/fixtures/defold-1.13.2/bullet3d_collision_object_doc.json +1206 -0
  190. package/fixtures/defold-1.13.2/bullet3d_constraint_doc.json +2455 -0
  191. package/fixtures/defold-1.13.2/bullet3d_doc.json +215 -0
  192. package/fixtures/defold-1.13.2/bullet3d_rigid_body_doc.json +1376 -0
  193. package/fixtures/defold-1.13.2/bullet3d_shape_doc.json +430 -0
  194. package/fixtures/defold-1.13.2/bullet3d_world_doc.json +855 -0
  195. package/fixtures/defold-1.13.2/camera_doc.json +887 -0
  196. package/fixtures/defold-1.13.2/collectionfactory_doc.json +206 -0
  197. package/fixtures/defold-1.13.2/collectionproxy_doc.json +397 -0
  198. package/fixtures/defold-1.13.2/compute_doc.json +183 -0
  199. package/fixtures/defold-1.13.2/coroutine_doc.json +152 -0
  200. package/fixtures/defold-1.13.2/crash_doc.json +483 -0
  201. package/fixtures/defold-1.13.2/debug_doc.json +411 -0
  202. package/fixtures/defold-1.13.2/editor_doc.json +6320 -0
  203. package/fixtures/defold-1.13.2/editor_http_doc.json +476 -0
  204. package/fixtures/defold-1.13.2/editor_image_doc.json +129 -0
  205. package/fixtures/defold-1.13.2/editor_json_doc.json +81 -0
  206. package/fixtures/defold-1.13.2/editor_localization_doc.json +139 -0
  207. package/fixtures/defold-1.13.2/editor_pprint_doc.json +37 -0
  208. package/fixtures/defold-1.13.2/editor_tilemap_tiles_doc.json +292 -0
  209. package/fixtures/defold-1.13.2/editor_zip_doc.json +237 -0
  210. package/fixtures/defold-1.13.2/editor_zlib_doc.json +49 -0
  211. package/fixtures/defold-1.13.2/factory_doc.json +206 -0
  212. package/fixtures/defold-1.13.2/font_doc.json +230 -0
  213. package/fixtures/defold-1.13.2/globals_doc.json +64 -0
  214. package/fixtures/defold-1.13.2/go-instance-functions.json +106 -0
  215. package/fixtures/defold-1.13.2/go_doc.json +1789 -0
  216. package/fixtures/defold-1.13.2/graphics_doc.json +1211 -0
  217. package/fixtures/defold-1.13.2/gui_doc.json +4735 -0
  218. package/fixtures/defold-1.13.2/html5_doc.json +65 -0
  219. package/fixtures/defold-1.13.2/http_doc.json +174 -0
  220. package/fixtures/defold-1.13.2/image_doc.json +298 -0
  221. package/fixtures/defold-1.13.2/import-manifest.json +10902 -0
  222. package/fixtures/defold-1.13.2/io_doc.json +400 -0
  223. package/fixtures/defold-1.13.2/json_doc.json +140 -0
  224. package/fixtures/defold-1.13.2/label_doc.json +427 -0
  225. package/fixtures/defold-1.13.2/liveupdate_doc.json +221 -0
  226. package/fixtures/defold-1.13.2/material_doc.json +773 -0
  227. package/fixtures/defold-1.13.2/math_doc.json +703 -0
  228. package/fixtures/defold-1.13.2/model_doc.json +472 -0
  229. package/fixtures/defold-1.13.2/msg_doc.json +169 -0
  230. package/fixtures/defold-1.13.2/os_doc.json +269 -0
  231. package/fixtures/defold-1.13.2/package_doc.json +140 -0
  232. package/fixtures/defold-1.13.2/particlefx_doc.json +249 -0
  233. package/fixtures/defold-1.13.2/physics_doc.json +1624 -0
  234. package/fixtures/defold-1.13.2/profiler_doc.json +348 -0
  235. package/fixtures/defold-1.13.2/render_doc.json +1623 -0
  236. package/fixtures/defold-1.13.2/resource_doc.json +1539 -0
  237. package/fixtures/defold-1.13.2/socket_doc.json +2335 -0
  238. package/fixtures/defold-1.13.2/sound_doc.json +673 -0
  239. package/fixtures/defold-1.13.2/sprite_doc.json +364 -0
  240. package/fixtures/defold-1.13.2/string_doc.json +413 -0
  241. package/fixtures/defold-1.13.2/sys_doc.json +1347 -0
  242. package/fixtures/defold-1.13.2/table_doc.json +167 -0
  243. package/fixtures/defold-1.13.2/tilemap_doc.json +369 -0
  244. package/fixtures/defold-1.13.2/timer_doc.json +214 -0
  245. package/fixtures/defold-1.13.2/types_doc.json +213 -0
  246. package/fixtures/defold-1.13.2/vmath_doc.json +2056 -0
  247. package/fixtures/defold-1.13.2/window_doc.json +426 -0
  248. package/fixtures/defold-1.13.2/zlib_doc.json +71 -0
  249. package/fixtures/defold-1.14.0/b2d_body_doc.json +2359 -0
  250. package/fixtures/defold-1.14.0/b2d_chain_doc.json +395 -0
  251. package/fixtures/defold-1.14.0/b2d_doc.json +1973 -0
  252. package/fixtures/defold-1.14.0/b2d_fixture_doc.json +595 -0
  253. package/fixtures/defold-1.14.0/b2d_joint_doc.json +3178 -0
  254. package/fixtures/defold-1.14.0/b2d_shape_doc.json +767 -0
  255. package/fixtures/defold-1.14.0/b2d_world_doc.json +1315 -0
  256. package/fixtures/defold-1.14.0/base_doc.json +759 -0
  257. package/fixtures/defold-1.14.0/bit_doc.json +405 -0
  258. package/fixtures/defold-1.14.0/buffer_doc.json +393 -0
  259. package/fixtures/defold-1.14.0/bullet3d_collision_object_doc.json +1206 -0
  260. package/fixtures/defold-1.14.0/bullet3d_constraint_doc.json +2455 -0
  261. package/fixtures/defold-1.14.0/bullet3d_doc.json +243 -0
  262. package/fixtures/defold-1.14.0/bullet3d_rigid_body_doc.json +1376 -0
  263. package/fixtures/defold-1.14.0/bullet3d_shape_doc.json +430 -0
  264. package/fixtures/defold-1.14.0/bullet3d_world_doc.json +855 -0
  265. package/fixtures/defold-1.14.0/camera_doc.json +887 -0
  266. package/fixtures/defold-1.14.0/collectionfactory_doc.json +206 -0
  267. package/fixtures/defold-1.14.0/collectionproxy_doc.json +397 -0
  268. package/fixtures/defold-1.14.0/compute_doc.json +183 -0
  269. package/fixtures/defold-1.14.0/coroutine_doc.json +152 -0
  270. package/fixtures/defold-1.14.0/crash_doc.json +483 -0
  271. package/fixtures/defold-1.14.0/debug_doc.json +411 -0
  272. package/fixtures/defold-1.14.0/editor_doc.json +6320 -0
  273. package/fixtures/defold-1.14.0/editor_http_doc.json +476 -0
  274. package/fixtures/defold-1.14.0/editor_image_doc.json +129 -0
  275. package/fixtures/defold-1.14.0/editor_json_doc.json +81 -0
  276. package/fixtures/defold-1.14.0/editor_localization_doc.json +139 -0
  277. package/fixtures/defold-1.14.0/editor_pprint_doc.json +37 -0
  278. package/fixtures/defold-1.14.0/editor_tilemap_tiles_doc.json +292 -0
  279. package/fixtures/defold-1.14.0/editor_zip_doc.json +237 -0
  280. package/fixtures/defold-1.14.0/editor_zlib_doc.json +49 -0
  281. package/fixtures/defold-1.14.0/factory_doc.json +206 -0
  282. package/fixtures/defold-1.14.0/font_doc.json +230 -0
  283. package/fixtures/defold-1.14.0/globals_doc.json +64 -0
  284. package/fixtures/defold-1.14.0/go-instance-functions.json +106 -0
  285. package/fixtures/defold-1.14.0/go_doc.json +1789 -0
  286. package/fixtures/defold-1.14.0/graphics_doc.json +1257 -0
  287. package/fixtures/defold-1.14.0/gui_doc.json +4735 -0
  288. package/fixtures/defold-1.14.0/html5_doc.json +65 -0
  289. package/fixtures/defold-1.14.0/http_doc.json +174 -0
  290. package/fixtures/defold-1.14.0/image_doc.json +298 -0
  291. package/fixtures/defold-1.14.0/import-manifest.json +10260 -0
  292. package/fixtures/defold-1.14.0/io_doc.json +400 -0
  293. package/fixtures/defold-1.14.0/json_doc.json +140 -0
  294. package/fixtures/defold-1.14.0/label_doc.json +427 -0
  295. package/fixtures/defold-1.14.0/liveupdate_doc.json +221 -0
  296. package/fixtures/defold-1.14.0/material_doc.json +773 -0
  297. package/fixtures/defold-1.14.0/math_doc.json +703 -0
  298. package/fixtures/defold-1.14.0/model_doc.json +472 -0
  299. package/fixtures/defold-1.14.0/msg_doc.json +169 -0
  300. package/fixtures/defold-1.14.0/os_doc.json +269 -0
  301. package/fixtures/defold-1.14.0/package_doc.json +140 -0
  302. package/fixtures/defold-1.14.0/particlefx_doc.json +249 -0
  303. package/fixtures/defold-1.14.0/physics_doc.json +1624 -0
  304. package/fixtures/defold-1.14.0/profiler_doc.json +348 -0
  305. package/fixtures/defold-1.14.0/render_doc.json +1628 -0
  306. package/fixtures/defold-1.14.0/resource_doc.json +1539 -0
  307. package/fixtures/defold-1.14.0/socket_doc.json +2335 -0
  308. package/fixtures/defold-1.14.0/sound_doc.json +673 -0
  309. package/fixtures/defold-1.14.0/sprite_doc.json +364 -0
  310. package/fixtures/defold-1.14.0/string_doc.json +413 -0
  311. package/fixtures/defold-1.14.0/sys_doc.json +1347 -0
  312. package/fixtures/defold-1.14.0/table_doc.json +167 -0
  313. package/fixtures/defold-1.14.0/tilemap_doc.json +369 -0
  314. package/fixtures/defold-1.14.0/timer_doc.json +214 -0
  315. package/fixtures/defold-1.14.0/types_doc.json +213 -0
  316. package/fixtures/defold-1.14.0/vmath_doc.json +2056 -0
  317. package/fixtures/defold-1.14.0/window_doc.json +426 -0
  318. package/fixtures/defold-1.14.0/zlib_doc.json +71 -0
  319. package/package.json +13 -6
  320. package/scripts/cli-runtime.ts +18 -0
  321. package/scripts/example-store-io.ts +2 -2
  322. package/scripts/extension-goldens.ts +9 -5
  323. package/scripts/generate-api-availability.ts +1 -1
  324. package/scripts/generate-api-signatures.ts +1 -1
  325. package/scripts/import-defold-release.ts +1 -1
  326. package/scripts/regen.ts +35 -9
  327. package/scripts/signature-store-fs.ts +37 -17
  328. package/scripts/sync-api-docs.ts +127 -20
  329. package/src/api-doc.ts +11 -4
  330. package/src/emit-dts.ts +115 -21
  331. package/src/index-slot-classifications.ts +75 -9
  332. package/src/index.ts +3 -1
  333. package/src/publish-dts.ts +16 -0
  334. package/src/script-api.ts +36 -38
  335. package/src/library-index-slot-classifications.ts +0 -332
@@ -0,0 +1,2455 @@
1
+ {
2
+ "elements": [
3
+ {
4
+ "type": "TYPEDEF",
5
+ "name": "btTypedConstraint",
6
+ "brief": "Bullet typed constraint",
7
+ "description": "Bullet typed constraint",
8
+ "returnvalues": [],
9
+ "parameters": [
10
+ {
11
+ "name": "value",
12
+ "doc": "opaque constraint handle",
13
+ "types": ["userdata"],
14
+ "is_optional": "False"
15
+ }
16
+ ],
17
+ "examples": "",
18
+ "replaces": "",
19
+ "error": "",
20
+ "tparams": [],
21
+ "members": [],
22
+ "notes": [],
23
+ "language": ""
24
+ },
25
+ {
26
+ "type": "ENUM",
27
+ "name": "bullet3d.constraint.CONSTRAINT_TYPE",
28
+ "brief": "Constraint types",
29
+ "description": "Constraint types",
30
+ "returnvalues": [],
31
+ "parameters": [],
32
+ "examples": "",
33
+ "replaces": "",
34
+ "error": "",
35
+ "tparams": [],
36
+ "members": [
37
+ {
38
+ "name": "bullet3d.constraint.CONSTRAINT_TYPE_CONE_TWIST",
39
+ "doc": "Cone-twist constraint type",
40
+ "type": ""
41
+ },
42
+ {
43
+ "name": "bullet3d.constraint.CONSTRAINT_TYPE_GENERIC_6DOF",
44
+ "doc": "Generic 6-DOF constraint type",
45
+ "type": ""
46
+ },
47
+ {
48
+ "name": "bullet3d.constraint.CONSTRAINT_TYPE_GENERIC_6DOF_SPRING",
49
+ "doc": "Generic spring 6-DOF constraint type",
50
+ "type": ""
51
+ },
52
+ {
53
+ "name": "bullet3d.constraint.CONSTRAINT_TYPE_HINGE",
54
+ "doc": "Hinge constraint type",
55
+ "type": ""
56
+ },
57
+ {
58
+ "name": "bullet3d.constraint.CONSTRAINT_TYPE_HINGE2",
59
+ "doc": "Hinge2 constraint type",
60
+ "type": ""
61
+ },
62
+ {
63
+ "name": "bullet3d.constraint.CONSTRAINT_TYPE_POINT_TO_POINT",
64
+ "doc": "Point-to-point constraint type",
65
+ "type": ""
66
+ },
67
+ {
68
+ "name": "bullet3d.constraint.CONSTRAINT_TYPE_SLIDER",
69
+ "doc": "Slider constraint type",
70
+ "type": ""
71
+ },
72
+ {
73
+ "name": "bullet3d.constraint.CONSTRAINT_TYPE_UNIVERSAL",
74
+ "doc": "Universal constraint type",
75
+ "type": ""
76
+ }
77
+ ],
78
+ "notes": [],
79
+ "language": ""
80
+ },
81
+ {
82
+ "type": "STRUCT",
83
+ "name": "bullet3d.constraint.point_to_point_params",
84
+ "brief": "Point-to-point constraint parameters",
85
+ "description": "<code>pivot_b</code> is required for a two-body constraint. For a one-body constraint,\nit is an optional world-space anchor.",
86
+ "returnvalues": [],
87
+ "parameters": [],
88
+ "examples": "",
89
+ "replaces": "",
90
+ "error": "",
91
+ "tparams": [],
92
+ "members": [
93
+ {
94
+ "name": "pivot_a",
95
+ "doc": "local body-A pivot",
96
+ "type": "vector3"
97
+ },
98
+ {
99
+ "name": "pivot_b?",
100
+ "doc": "local body-B pivot or world-space anchor",
101
+ "type": "vector3"
102
+ },
103
+ {
104
+ "name": "collide_connected?",
105
+ "doc": "whether connected bodies can collide; defaults to <code>false</code>",
106
+ "type": "boolean"
107
+ }
108
+ ],
109
+ "notes": [],
110
+ "language": ""
111
+ },
112
+ {
113
+ "type": "STRUCT",
114
+ "name": "bullet3d.constraint.hinge_params",
115
+ "brief": "Hinge constraint parameters",
116
+ "description": "The frame-B fields are required for a two-body constraint.",
117
+ "returnvalues": [],
118
+ "parameters": [],
119
+ "examples": "",
120
+ "replaces": "",
121
+ "error": "",
122
+ "tparams": [],
123
+ "members": [
124
+ {
125
+ "name": "frame_a_position",
126
+ "doc": "local body-A frame position",
127
+ "type": "vector3"
128
+ },
129
+ {
130
+ "name": "frame_a_rotation",
131
+ "doc": "local body-A frame rotation",
132
+ "type": "quaternion"
133
+ },
134
+ {
135
+ "name": "frame_b_position?",
136
+ "doc": "local body-B frame position",
137
+ "type": "vector3"
138
+ },
139
+ {
140
+ "name": "frame_b_rotation?",
141
+ "doc": "local body-B frame rotation",
142
+ "type": "quaternion"
143
+ },
144
+ {
145
+ "name": "use_reference_frame_a?",
146
+ "doc": "whether angular calculations reference frame A",
147
+ "type": "boolean"
148
+ },
149
+ {
150
+ "name": "angular_only?",
151
+ "doc": "whether to constrain angular motion only",
152
+ "type": "boolean"
153
+ },
154
+ {
155
+ "name": "collide_connected?",
156
+ "doc": "whether connected bodies can collide; defaults to <code>false</code>",
157
+ "type": "boolean"
158
+ }
159
+ ],
160
+ "notes": [],
161
+ "language": ""
162
+ },
163
+ {
164
+ "type": "STRUCT",
165
+ "name": "bullet3d.constraint.cone_twist_params",
166
+ "brief": "Cone-twist constraint parameters",
167
+ "description": "The frame-B fields are required for a two-body constraint.",
168
+ "returnvalues": [],
169
+ "parameters": [],
170
+ "examples": "",
171
+ "replaces": "",
172
+ "error": "",
173
+ "tparams": [],
174
+ "members": [
175
+ {
176
+ "name": "frame_a_position",
177
+ "doc": "local body-A frame position",
178
+ "type": "vector3"
179
+ },
180
+ {
181
+ "name": "frame_a_rotation",
182
+ "doc": "local body-A frame rotation",
183
+ "type": "quaternion"
184
+ },
185
+ {
186
+ "name": "frame_b_position?",
187
+ "doc": "local body-B frame position",
188
+ "type": "vector3"
189
+ },
190
+ {
191
+ "name": "frame_b_rotation?",
192
+ "doc": "local body-B frame rotation",
193
+ "type": "quaternion"
194
+ },
195
+ {
196
+ "name": "angular_only?",
197
+ "doc": "whether to constrain angular motion only",
198
+ "type": "boolean"
199
+ },
200
+ {
201
+ "name": "collide_connected?",
202
+ "doc": "whether connected bodies can collide; defaults to <code>false</code>",
203
+ "type": "boolean"
204
+ }
205
+ ],
206
+ "notes": [],
207
+ "language": ""
208
+ },
209
+ {
210
+ "type": "STRUCT",
211
+ "name": "bullet3d.constraint.generic_6dof_params",
212
+ "brief": "Generic 6-DOF constraint parameters",
213
+ "description": "The frame-B fields are required for a two-body constraint.",
214
+ "returnvalues": [],
215
+ "parameters": [],
216
+ "examples": "",
217
+ "replaces": "",
218
+ "error": "",
219
+ "tparams": [],
220
+ "members": [
221
+ {
222
+ "name": "frame_a_position",
223
+ "doc": "local body-A frame position",
224
+ "type": "vector3"
225
+ },
226
+ {
227
+ "name": "frame_a_rotation",
228
+ "doc": "local body-A frame rotation",
229
+ "type": "quaternion"
230
+ },
231
+ {
232
+ "name": "frame_b_position?",
233
+ "doc": "local body-B frame position",
234
+ "type": "vector3"
235
+ },
236
+ {
237
+ "name": "frame_b_rotation?",
238
+ "doc": "local body-B frame rotation",
239
+ "type": "quaternion"
240
+ },
241
+ {
242
+ "name": "collide_connected?",
243
+ "doc": "whether connected bodies can collide; defaults to <code>false</code>",
244
+ "type": "boolean"
245
+ }
246
+ ],
247
+ "notes": [],
248
+ "language": ""
249
+ },
250
+ {
251
+ "type": "STRUCT",
252
+ "name": "bullet3d.constraint.generic_6dof_spring_params",
253
+ "brief": "Generic spring 6-DOF constraint parameters",
254
+ "description": "Generic spring 6-DOF constraint parameters",
255
+ "returnvalues": [],
256
+ "parameters": [],
257
+ "examples": "",
258
+ "replaces": "",
259
+ "error": "",
260
+ "tparams": [],
261
+ "members": [
262
+ {
263
+ "name": "frame_a_position",
264
+ "doc": "local body-A frame position",
265
+ "type": "vector3"
266
+ },
267
+ {
268
+ "name": "frame_a_rotation",
269
+ "doc": "local body-A frame rotation",
270
+ "type": "quaternion"
271
+ },
272
+ {
273
+ "name": "frame_b_position",
274
+ "doc": "local body-B frame position",
275
+ "type": "vector3"
276
+ },
277
+ {
278
+ "name": "frame_b_rotation",
279
+ "doc": "local body-B frame rotation",
280
+ "type": "quaternion"
281
+ },
282
+ {
283
+ "name": "collide_connected?",
284
+ "doc": "whether connected bodies can collide; defaults to <code>false</code>",
285
+ "type": "boolean"
286
+ }
287
+ ],
288
+ "notes": [],
289
+ "language": ""
290
+ },
291
+ {
292
+ "type": "STRUCT",
293
+ "name": "bullet3d.constraint.slider_params",
294
+ "brief": "Slider constraint parameters",
295
+ "description": "The frame-B fields are required for a two-body constraint.",
296
+ "returnvalues": [],
297
+ "parameters": [],
298
+ "examples": "",
299
+ "replaces": "",
300
+ "error": "",
301
+ "tparams": [],
302
+ "members": [
303
+ {
304
+ "name": "frame_a_position",
305
+ "doc": "local body-A frame position",
306
+ "type": "vector3"
307
+ },
308
+ {
309
+ "name": "frame_a_rotation",
310
+ "doc": "local body-A frame rotation",
311
+ "type": "quaternion"
312
+ },
313
+ {
314
+ "name": "frame_b_position?",
315
+ "doc": "local body-B frame position",
316
+ "type": "vector3"
317
+ },
318
+ {
319
+ "name": "frame_b_rotation?",
320
+ "doc": "local body-B frame rotation",
321
+ "type": "quaternion"
322
+ },
323
+ {
324
+ "name": "use_linear_reference_frame_a?",
325
+ "doc": "whether linear calculations reference frame A",
326
+ "type": "boolean"
327
+ },
328
+ {
329
+ "name": "collide_connected?",
330
+ "doc": "whether connected bodies can collide; defaults to <code>false</code>",
331
+ "type": "boolean"
332
+ }
333
+ ],
334
+ "notes": [],
335
+ "language": ""
336
+ },
337
+ {
338
+ "type": "STRUCT",
339
+ "name": "bullet3d.constraint.anchor_axes_params",
340
+ "brief": "Universal and hinge2 constraint parameters",
341
+ "description": "Universal and hinge2 constraint parameters",
342
+ "returnvalues": [],
343
+ "parameters": [],
344
+ "examples": "",
345
+ "replaces": "",
346
+ "error": "",
347
+ "tparams": [],
348
+ "members": [
349
+ {
350
+ "name": "anchor",
351
+ "doc": "world-space anchor",
352
+ "type": "vector3"
353
+ },
354
+ {
355
+ "name": "axis1",
356
+ "doc": "first non-zero world-space axis",
357
+ "type": "vector3"
358
+ },
359
+ {
360
+ "name": "axis2",
361
+ "doc": "second non-zero world-space axis, orthogonal to <code>axis1</code>",
362
+ "type": "vector3"
363
+ },
364
+ {
365
+ "name": "collide_connected?",
366
+ "doc": "whether connected bodies can collide; defaults to <code>false</code>",
367
+ "type": "boolean"
368
+ }
369
+ ],
370
+ "notes": [],
371
+ "language": ""
372
+ },
373
+ {
374
+ "type": "FUNCTION",
375
+ "name": "bullet3d.constraint.create_point_to_point",
376
+ "brief": "Create a point-to-point constraint",
377
+ "description": "The world is derived from <code>body_a</code>; both bodies must belong to that same world.",
378
+ "returnvalues": [
379
+ {
380
+ "name": "constraint",
381
+ "doc": "point-to-point constraint",
382
+ "types": ["btTypedConstraint"]
383
+ }
384
+ ],
385
+ "parameters": [
386
+ {
387
+ "name": "body_a",
388
+ "doc": "first body",
389
+ "types": ["btRigidBody"],
390
+ "is_optional": "False"
391
+ },
392
+ {
393
+ "name": "body_b",
394
+ "doc": "second body or world",
395
+ "types": ["btRigidBody", "nil"],
396
+ "is_optional": "False"
397
+ },
398
+ {
399
+ "name": "params",
400
+ "doc": "pivots and options",
401
+ "types": ["bullet3d.constraint.point_to_point_params"],
402
+ "is_optional": "False"
403
+ }
404
+ ],
405
+ "examples": "Join two bodies at matching local pivots and explicitly destroy the\nconstraint when the script is finalized:\n<div class=\"codehilite\"><pre><span></span><code><span class=\"kr\">function</span> <span class=\"nf\">init</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">)</span>\n <span class=\"kd\">local</span> <span class=\"n\">body_a</span> <span class=\"o\">=</span> <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">get_rigid_body</span><span class=\"p\">(</span><span class=\"s2\">&quot;/body_a#collisionobject&quot;</span><span class=\"p\">)</span>\n <span class=\"kd\">local</span> <span class=\"n\">body_b</span> <span class=\"o\">=</span> <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">get_rigid_body</span><span class=\"p\">(</span><span class=\"s2\">&quot;/body_b#collisionobject&quot;</span><span class=\"p\">)</span>\n <span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">constraint</span> <span class=\"o\">=</span> <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">constraint</span><span class=\"p\">.</span><span class=\"n\">create_point_to_point</span><span class=\"p\">(</span><span class=\"n\">body_a</span><span class=\"p\">,</span> <span class=\"n\">body_b</span><span class=\"p\">,</span> <span class=\"p\">{</span>\n <span class=\"n\">pivot_a</span> <span class=\"o\">=</span> <span class=\"n\">vmath</span><span class=\"p\">.</span><span class=\"n\">vector3</span><span class=\"p\">(</span><span class=\"mf\">0.5</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">),</span>\n <span class=\"n\">pivot_b</span> <span class=\"o\">=</span> <span class=\"n\">vmath</span><span class=\"p\">.</span><span class=\"n\">vector3</span><span class=\"p\">(</span><span class=\"o\">-</span><span class=\"mf\">0.5</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">),</span>\n <span class=\"p\">})</span>\n<span class=\"kr\">end</span>\n\n<span class=\"kr\">function</span> <span class=\"nf\">final</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">)</span>\n <span class=\"kr\">if</span> <span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">constraint</span> <span class=\"ow\">and</span> <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">constraint</span><span class=\"p\">.</span><span class=\"n\">is_valid</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">constraint</span><span class=\"p\">)</span> <span class=\"kr\">then</span>\n <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">constraint</span><span class=\"p\">.</span><span class=\"n\">destroy</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">constraint</span><span class=\"p\">)</span>\n <span class=\"kr\">end</span>\n<span class=\"kr\">end</span>\n</code></pre></div>",
406
+ "replaces": "",
407
+ "error": "",
408
+ "tparams": [],
409
+ "members": [],
410
+ "notes": [],
411
+ "language": ""
412
+ },
413
+ {
414
+ "type": "FUNCTION",
415
+ "name": "bullet3d.constraint.create_hinge",
416
+ "brief": "Create a hinge constraint",
417
+ "description": "The world is derived from <code>body_a</code>.",
418
+ "returnvalues": [
419
+ {
420
+ "name": "constraint",
421
+ "doc": "hinge constraint",
422
+ "types": ["btTypedConstraint"]
423
+ }
424
+ ],
425
+ "parameters": [
426
+ {
427
+ "name": "body_a",
428
+ "doc": "first body",
429
+ "types": ["btRigidBody"],
430
+ "is_optional": "False"
431
+ },
432
+ {
433
+ "name": "body_b",
434
+ "doc": "second body or world",
435
+ "types": ["btRigidBody", "nil"],
436
+ "is_optional": "False"
437
+ },
438
+ {
439
+ "name": "params",
440
+ "doc": "local frames and options",
441
+ "types": ["bullet3d.constraint.hinge_params"],
442
+ "is_optional": "False"
443
+ }
444
+ ],
445
+ "examples": "Create a motorized hinge with a 90-degree range:\n<div class=\"codehilite\"><pre><span></span><code><span class=\"kr\">function</span> <span class=\"nf\">init</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">)</span>\n <span class=\"kd\">local</span> <span class=\"n\">body_a</span> <span class=\"o\">=</span> <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">get_rigid_body</span><span class=\"p\">(</span><span class=\"s2\">&quot;/door#collisionobject&quot;</span><span class=\"p\">)</span>\n <span class=\"kd\">local</span> <span class=\"n\">body_b</span> <span class=\"o\">=</span> <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">get_rigid_body</span><span class=\"p\">(</span><span class=\"s2\">&quot;/frame#collisionobject&quot;</span><span class=\"p\">)</span>\n <span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">hinge</span> <span class=\"o\">=</span> <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">constraint</span><span class=\"p\">.</span><span class=\"n\">create_hinge</span><span class=\"p\">(</span><span class=\"n\">body_a</span><span class=\"p\">,</span> <span class=\"n\">body_b</span><span class=\"p\">,</span> <span class=\"p\">{</span>\n <span class=\"n\">frame_a_position</span> <span class=\"o\">=</span> <span class=\"n\">vmath</span><span class=\"p\">.</span><span class=\"n\">vector3</span><span class=\"p\">(</span><span class=\"o\">-</span><span class=\"mf\">0.5</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">),</span>\n <span class=\"n\">frame_a_rotation</span> <span class=\"o\">=</span> <span class=\"n\">vmath</span><span class=\"p\">.</span><span class=\"n\">quat</span><span class=\"p\">(),</span>\n <span class=\"n\">frame_b_position</span> <span class=\"o\">=</span> <span class=\"n\">vmath</span><span class=\"p\">.</span><span class=\"n\">vector3</span><span class=\"p\">(</span><span class=\"mf\">0.5</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">),</span>\n <span class=\"n\">frame_b_rotation</span> <span class=\"o\">=</span> <span class=\"n\">vmath</span><span class=\"p\">.</span><span class=\"n\">quat</span><span class=\"p\">(),</span>\n <span class=\"p\">})</span>\n <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">constraint</span><span class=\"p\">.</span><span class=\"n\">set_hinge_limits</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">hinge</span><span class=\"p\">,</span> <span class=\"o\">-</span><span class=\"nb\">math.pi</span> <span class=\"o\">/</span> <span class=\"mi\">4</span><span class=\"p\">,</span> <span class=\"nb\">math.pi</span> <span class=\"o\">/</span> <span class=\"mi\">4</span><span class=\"p\">)</span>\n <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">constraint</span><span class=\"p\">.</span><span class=\"n\">set_hinge_motor</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">hinge</span><span class=\"p\">,</span> <span class=\"kc\">true</span><span class=\"p\">,</span> <span class=\"mf\">1.5</span><span class=\"p\">,</span> <span class=\"mf\">2.5</span><span class=\"p\">)</span>\n<span class=\"kr\">end</span>\n\n<span class=\"kr\">function</span> <span class=\"nf\">final</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">)</span>\n <span class=\"kr\">if</span> <span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">hinge</span> <span class=\"ow\">and</span> <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">constraint</span><span class=\"p\">.</span><span class=\"n\">is_valid</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">hinge</span><span class=\"p\">)</span> <span class=\"kr\">then</span>\n <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">constraint</span><span class=\"p\">.</span><span class=\"n\">destroy</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">hinge</span><span class=\"p\">)</span>\n <span class=\"kr\">end</span>\n<span class=\"kr\">end</span>\n</code></pre></div>",
446
+ "replaces": "",
447
+ "error": "",
448
+ "tparams": [],
449
+ "members": [],
450
+ "notes": [],
451
+ "language": ""
452
+ },
453
+ {
454
+ "type": "FUNCTION",
455
+ "name": "bullet3d.constraint.create_cone_twist",
456
+ "brief": "Create a cone-twist constraint",
457
+ "description": "The world is derived from <code>body_a</code>.",
458
+ "returnvalues": [
459
+ {
460
+ "name": "constraint",
461
+ "doc": "cone-twist constraint",
462
+ "types": ["btTypedConstraint"]
463
+ }
464
+ ],
465
+ "parameters": [
466
+ {
467
+ "name": "body_a",
468
+ "doc": "first body",
469
+ "types": ["btRigidBody"],
470
+ "is_optional": "False"
471
+ },
472
+ {
473
+ "name": "body_b",
474
+ "doc": "second body or world",
475
+ "types": ["btRigidBody", "nil"],
476
+ "is_optional": "False"
477
+ },
478
+ {
479
+ "name": "params",
480
+ "doc": "local frames and options",
481
+ "types": ["bullet3d.constraint.cone_twist_params"],
482
+ "is_optional": "False"
483
+ }
484
+ ],
485
+ "examples": "",
486
+ "replaces": "",
487
+ "error": "",
488
+ "tparams": [],
489
+ "members": [],
490
+ "notes": [],
491
+ "language": ""
492
+ },
493
+ {
494
+ "type": "FUNCTION",
495
+ "name": "bullet3d.constraint.create_generic_6dof",
496
+ "brief": "Create a generic six-degree-of-freedom constraint",
497
+ "description": "The params table requires local frame A and, for a two-body constraint,\nlocal frame B. It optionally accepts <code>collide_connected</code>. The world is\nderived from <code>body_a</code>. The active 6-DOF solver ignores its legacy\nlinear-reference-frame selector, so that field is rejected rather than\nsilently accepted.",
498
+ "returnvalues": [
499
+ {
500
+ "name": "constraint",
501
+ "doc": "generic 6-DOF constraint",
502
+ "types": ["btTypedConstraint"]
503
+ }
504
+ ],
505
+ "parameters": [
506
+ {
507
+ "name": "body_a",
508
+ "doc": "first body",
509
+ "types": ["btRigidBody"],
510
+ "is_optional": "False"
511
+ },
512
+ {
513
+ "name": "body_b",
514
+ "doc": "second body or world",
515
+ "types": ["btRigidBody", "nil"],
516
+ "is_optional": "False"
517
+ },
518
+ {
519
+ "name": "params",
520
+ "doc": "local frames and options",
521
+ "types": ["bullet3d.constraint.generic_6dof_params"],
522
+ "is_optional": "False"
523
+ }
524
+ ],
525
+ "examples": "",
526
+ "replaces": "",
527
+ "error": "",
528
+ "tparams": [],
529
+ "members": [],
530
+ "notes": [],
531
+ "language": ""
532
+ },
533
+ {
534
+ "type": "FUNCTION",
535
+ "name": "bullet3d.constraint.create_generic_6dof_spring",
536
+ "brief": "Create a generic spring six-degree-of-freedom constraint",
537
+ "description": "Both bodies and both local frames are required. The params table optionally\naccepts <code>collide_connected</code>. The world is derived from <code>body_a</code>. The active\nspring 6-DOF solver ignores its legacy linear-reference-frame selector, so\nthat field is rejected rather than silently accepted.",
538
+ "returnvalues": [
539
+ {
540
+ "name": "constraint",
541
+ "doc": "spring 6-DOF constraint",
542
+ "types": ["btTypedConstraint"]
543
+ }
544
+ ],
545
+ "parameters": [
546
+ {
547
+ "name": "body_a",
548
+ "doc": "first body",
549
+ "types": ["btRigidBody"],
550
+ "is_optional": "False"
551
+ },
552
+ {
553
+ "name": "body_b",
554
+ "doc": "second body",
555
+ "types": ["btRigidBody"],
556
+ "is_optional": "False"
557
+ },
558
+ {
559
+ "name": "params",
560
+ "doc": "local frames and options",
561
+ "types": ["bullet3d.constraint.generic_6dof_spring_params"],
562
+ "is_optional": "False"
563
+ }
564
+ ],
565
+ "examples": "Create a spring that moves along its first linear axis:\n<div class=\"codehilite\"><pre><span></span><code><span class=\"kr\">function</span> <span class=\"nf\">init</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">)</span>\n <span class=\"kd\">local</span> <span class=\"n\">body_a</span> <span class=\"o\">=</span> <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">get_rigid_body</span><span class=\"p\">(</span><span class=\"s2\">&quot;/body_a#collisionobject&quot;</span><span class=\"p\">)</span>\n <span class=\"kd\">local</span> <span class=\"n\">body_b</span> <span class=\"o\">=</span> <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">get_rigid_body</span><span class=\"p\">(</span><span class=\"s2\">&quot;/body_b#collisionobject&quot;</span><span class=\"p\">)</span>\n <span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">spring</span> <span class=\"o\">=</span> <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">constraint</span><span class=\"p\">.</span><span class=\"n\">create_generic_6dof_spring</span><span class=\"p\">(</span><span class=\"n\">body_a</span><span class=\"p\">,</span> <span class=\"n\">body_b</span><span class=\"p\">,</span> <span class=\"p\">{</span>\n <span class=\"n\">frame_a_position</span> <span class=\"o\">=</span> <span class=\"n\">vmath</span><span class=\"p\">.</span><span class=\"n\">vector3</span><span class=\"p\">(),</span>\n <span class=\"n\">frame_a_rotation</span> <span class=\"o\">=</span> <span class=\"n\">vmath</span><span class=\"p\">.</span><span class=\"n\">quat</span><span class=\"p\">(),</span>\n <span class=\"n\">frame_b_position</span> <span class=\"o\">=</span> <span class=\"n\">vmath</span><span class=\"p\">.</span><span class=\"n\">vector3</span><span class=\"p\">(),</span>\n <span class=\"n\">frame_b_rotation</span> <span class=\"o\">=</span> <span class=\"n\">vmath</span><span class=\"p\">.</span><span class=\"n\">quat</span><span class=\"p\">(),</span>\n <span class=\"p\">})</span>\n <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">constraint</span><span class=\"p\">.</span><span class=\"n\">set_limit</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">spring</span><span class=\"p\">,</span> <span class=\"mi\">1</span><span class=\"p\">,</span> <span class=\"o\">-</span><span class=\"mi\">1</span><span class=\"p\">,</span> <span class=\"mi\">1</span><span class=\"p\">)</span>\n <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">constraint</span><span class=\"p\">.</span><span class=\"n\">enable_spring</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">spring</span><span class=\"p\">,</span> <span class=\"mi\">1</span><span class=\"p\">,</span> <span class=\"kc\">true</span><span class=\"p\">)</span>\n <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">constraint</span><span class=\"p\">.</span><span class=\"n\">set_spring_stiffness</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">spring</span><span class=\"p\">,</span> <span class=\"mi\">1</span><span class=\"p\">,</span> <span class=\"mi\">20</span><span class=\"p\">)</span>\n <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">constraint</span><span class=\"p\">.</span><span class=\"n\">set_spring_damping</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">spring</span><span class=\"p\">,</span> <span class=\"mi\">1</span><span class=\"p\">,</span> <span class=\"mf\">0.5</span><span class=\"p\">)</span>\n <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">constraint</span><span class=\"p\">.</span><span class=\"n\">set_spring_equilibrium_point</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">spring</span><span class=\"p\">,</span> <span class=\"mi\">1</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">)</span>\n<span class=\"kr\">end</span>\n\n<span class=\"kr\">function</span> <span class=\"nf\">final</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">)</span>\n <span class=\"kr\">if</span> <span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">spring</span> <span class=\"ow\">and</span> <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">constraint</span><span class=\"p\">.</span><span class=\"n\">is_valid</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">spring</span><span class=\"p\">)</span> <span class=\"kr\">then</span>\n <span class=\"n\">bullet3d</span><span class=\"p\">.</span><span class=\"n\">constraint</span><span class=\"p\">.</span><span class=\"n\">destroy</span><span class=\"p\">(</span><span class=\"n\">self</span><span class=\"p\">.</span><span class=\"n\">spring</span><span class=\"p\">)</span>\n <span class=\"kr\">end</span>\n<span class=\"kr\">end</span>\n</code></pre></div>",
566
+ "replaces": "",
567
+ "error": "",
568
+ "tparams": [],
569
+ "members": [],
570
+ "notes": [],
571
+ "language": ""
572
+ },
573
+ {
574
+ "type": "FUNCTION",
575
+ "name": "bullet3d.constraint.create_slider",
576
+ "brief": "Create a slider constraint",
577
+ "description": "The world is derived from <code>body_a</code>.",
578
+ "returnvalues": [
579
+ {
580
+ "name": "constraint",
581
+ "doc": "slider constraint",
582
+ "types": ["btTypedConstraint"]
583
+ }
584
+ ],
585
+ "parameters": [
586
+ {
587
+ "name": "body_a",
588
+ "doc": "first body",
589
+ "types": ["btRigidBody"],
590
+ "is_optional": "False"
591
+ },
592
+ {
593
+ "name": "body_b",
594
+ "doc": "second body or world",
595
+ "types": ["btRigidBody", "nil"],
596
+ "is_optional": "False"
597
+ },
598
+ {
599
+ "name": "params",
600
+ "doc": "local frames and options",
601
+ "types": ["bullet3d.constraint.slider_params"],
602
+ "is_optional": "False"
603
+ }
604
+ ],
605
+ "examples": "",
606
+ "replaces": "",
607
+ "error": "",
608
+ "tparams": [],
609
+ "members": [],
610
+ "notes": [],
611
+ "language": ""
612
+ },
613
+ {
614
+ "type": "FUNCTION",
615
+ "name": "bullet3d.constraint.create_universal",
616
+ "brief": "Create a universal constraint",
617
+ "description": "Both bodies are required. The world is derived from <code>body_a</code>.",
618
+ "returnvalues": [
619
+ {
620
+ "name": "constraint",
621
+ "doc": "universal constraint",
622
+ "types": ["btTypedConstraint"]
623
+ }
624
+ ],
625
+ "parameters": [
626
+ {
627
+ "name": "body_a",
628
+ "doc": "first body",
629
+ "types": ["btRigidBody"],
630
+ "is_optional": "False"
631
+ },
632
+ {
633
+ "name": "body_b",
634
+ "doc": "second body",
635
+ "types": ["btRigidBody"],
636
+ "is_optional": "False"
637
+ },
638
+ {
639
+ "name": "params",
640
+ "doc": "anchor, axes, and options",
641
+ "types": ["bullet3d.constraint.anchor_axes_params"],
642
+ "is_optional": "False"
643
+ }
644
+ ],
645
+ "examples": "",
646
+ "replaces": "",
647
+ "error": "",
648
+ "tparams": [],
649
+ "members": [],
650
+ "notes": [],
651
+ "language": ""
652
+ },
653
+ {
654
+ "type": "FUNCTION",
655
+ "name": "bullet3d.constraint.create_hinge2",
656
+ "brief": "Create a hinge2 constraint",
657
+ "description": "Both bodies are required. Its initial linear suspension travel is one Defold\nunit in either direction. The world is derived from <code>body_a</code>.",
658
+ "returnvalues": [
659
+ {
660
+ "name": "constraint",
661
+ "doc": "hinge2 constraint",
662
+ "types": ["btTypedConstraint"]
663
+ }
664
+ ],
665
+ "parameters": [
666
+ {
667
+ "name": "body_a",
668
+ "doc": "first body",
669
+ "types": ["btRigidBody"],
670
+ "is_optional": "False"
671
+ },
672
+ {
673
+ "name": "body_b",
674
+ "doc": "second body",
675
+ "types": ["btRigidBody"],
676
+ "is_optional": "False"
677
+ },
678
+ {
679
+ "name": "params",
680
+ "doc": "anchor, axes, and options",
681
+ "types": ["bullet3d.constraint.anchor_axes_params"],
682
+ "is_optional": "False"
683
+ }
684
+ ],
685
+ "examples": "",
686
+ "replaces": "",
687
+ "error": "",
688
+ "tparams": [],
689
+ "members": [],
690
+ "notes": [],
691
+ "language": ""
692
+ },
693
+ {
694
+ "type": "FUNCTION",
695
+ "name": "bullet3d.constraint.is_valid",
696
+ "brief": "Test whether a constraint handle is valid",
697
+ "description": "Test whether a constraint handle is valid",
698
+ "returnvalues": [
699
+ {
700
+ "name": "valid",
701
+ "doc": "true while the native constraint exists",
702
+ "types": ["boolean"]
703
+ }
704
+ ],
705
+ "parameters": [
706
+ {
707
+ "name": "constraint",
708
+ "doc": "constraint handle",
709
+ "types": ["btTypedConstraint"],
710
+ "is_optional": "False"
711
+ }
712
+ ],
713
+ "examples": "",
714
+ "replaces": "",
715
+ "error": "",
716
+ "tparams": [],
717
+ "members": [],
718
+ "notes": [],
719
+ "language": ""
720
+ },
721
+ {
722
+ "type": "FUNCTION",
723
+ "name": "bullet3d.constraint.is_active",
724
+ "brief": "Test whether a constraint is active in its world",
725
+ "description": "Test whether a constraint is active in its world",
726
+ "returnvalues": [
727
+ {
728
+ "name": "active",
729
+ "doc": "false while a linked body is disabled",
730
+ "types": ["boolean"]
731
+ }
732
+ ],
733
+ "parameters": [
734
+ {
735
+ "name": "constraint",
736
+ "doc": "constraint",
737
+ "types": ["btTypedConstraint"],
738
+ "is_optional": "False"
739
+ }
740
+ ],
741
+ "examples": "",
742
+ "replaces": "",
743
+ "error": "",
744
+ "tparams": [],
745
+ "members": [],
746
+ "notes": [],
747
+ "language": ""
748
+ },
749
+ {
750
+ "type": "FUNCTION",
751
+ "name": "bullet3d.constraint.destroy",
752
+ "brief": "Destroy a constraint",
753
+ "description": "Destroy a constraint",
754
+ "returnvalues": [],
755
+ "parameters": [
756
+ {
757
+ "name": "constraint",
758
+ "doc": "constraint",
759
+ "types": ["btTypedConstraint"],
760
+ "is_optional": "False"
761
+ }
762
+ ],
763
+ "examples": "",
764
+ "replaces": "",
765
+ "error": "",
766
+ "tparams": [],
767
+ "members": [],
768
+ "notes": [],
769
+ "language": ""
770
+ },
771
+ {
772
+ "type": "FUNCTION",
773
+ "name": "bullet3d.constraint.get_type",
774
+ "brief": "Get the constraint type",
775
+ "description": "Get the constraint type",
776
+ "returnvalues": [
777
+ {
778
+ "name": "type",
779
+ "doc": "constraint type",
780
+ "types": ["bullet3d.constraint.CONSTRAINT_TYPE"]
781
+ }
782
+ ],
783
+ "parameters": [
784
+ {
785
+ "name": "constraint",
786
+ "doc": "constraint",
787
+ "types": ["btTypedConstraint"],
788
+ "is_optional": "False"
789
+ }
790
+ ],
791
+ "examples": "",
792
+ "replaces": "",
793
+ "error": "",
794
+ "tparams": [],
795
+ "members": [],
796
+ "notes": [],
797
+ "language": ""
798
+ },
799
+ {
800
+ "type": "FUNCTION",
801
+ "name": "bullet3d.constraint.get_type_name",
802
+ "brief": "Get the constraint type name",
803
+ "description": "Returns a stable lowercase diagnostic name such as <code>\"hinge\"</code> or\n<code>\"generic_6dof_spring\"</code>.",
804
+ "returnvalues": [
805
+ {
806
+ "name": "name",
807
+ "doc": "constraint type name",
808
+ "types": ["string"]
809
+ }
810
+ ],
811
+ "parameters": [
812
+ {
813
+ "name": "constraint",
814
+ "doc": "constraint",
815
+ "types": ["btTypedConstraint"],
816
+ "is_optional": "False"
817
+ }
818
+ ],
819
+ "examples": "",
820
+ "replaces": "",
821
+ "error": "",
822
+ "tparams": [],
823
+ "members": [],
824
+ "notes": [],
825
+ "language": ""
826
+ },
827
+ {
828
+ "type": "FUNCTION",
829
+ "name": "bullet3d.constraint.get_body_a",
830
+ "brief": "Get the first linked body",
831
+ "description": "Get the first linked body",
832
+ "returnvalues": [
833
+ {
834
+ "name": "body",
835
+ "doc": "first body",
836
+ "types": ["btRigidBody"]
837
+ }
838
+ ],
839
+ "parameters": [
840
+ {
841
+ "name": "constraint",
842
+ "doc": "constraint",
843
+ "types": ["btTypedConstraint"],
844
+ "is_optional": "False"
845
+ }
846
+ ],
847
+ "examples": "",
848
+ "replaces": "",
849
+ "error": "",
850
+ "tparams": [],
851
+ "members": [],
852
+ "notes": [],
853
+ "language": ""
854
+ },
855
+ {
856
+ "type": "FUNCTION",
857
+ "name": "bullet3d.constraint.get_body_b",
858
+ "brief": "Get the second linked body",
859
+ "description": "Get the second linked body",
860
+ "returnvalues": [
861
+ {
862
+ "name": "body",
863
+ "doc": "second body, or nil for a world constraint",
864
+ "types": ["btRigidBody", "nil"]
865
+ }
866
+ ],
867
+ "parameters": [
868
+ {
869
+ "name": "constraint",
870
+ "doc": "constraint",
871
+ "types": ["btTypedConstraint"],
872
+ "is_optional": "False"
873
+ }
874
+ ],
875
+ "examples": "",
876
+ "replaces": "",
877
+ "error": "",
878
+ "tparams": [],
879
+ "members": [],
880
+ "notes": [],
881
+ "language": ""
882
+ },
883
+ {
884
+ "type": "FUNCTION",
885
+ "name": "bullet3d.constraint.get_world",
886
+ "brief": "Get the owning world",
887
+ "description": "Get the owning world",
888
+ "returnvalues": [
889
+ {
890
+ "name": "world",
891
+ "doc": "owning world",
892
+ "types": ["btDiscreteDynamicsWorld"]
893
+ }
894
+ ],
895
+ "parameters": [
896
+ {
897
+ "name": "constraint",
898
+ "doc": "constraint",
899
+ "types": ["btTypedConstraint"],
900
+ "is_optional": "False"
901
+ }
902
+ ],
903
+ "examples": "",
904
+ "replaces": "",
905
+ "error": "",
906
+ "tparams": [],
907
+ "members": [],
908
+ "notes": [],
909
+ "language": ""
910
+ },
911
+ {
912
+ "type": "FUNCTION",
913
+ "name": "bullet3d.constraint.get_collide_connected",
914
+ "brief": "Get whether connected bodies can collide",
915
+ "description": "Get whether connected bodies can collide",
916
+ "returnvalues": [
917
+ {
918
+ "name": "collide",
919
+ "doc": "whether connected bodies can collide",
920
+ "types": ["boolean"]
921
+ }
922
+ ],
923
+ "parameters": [
924
+ {
925
+ "name": "constraint",
926
+ "doc": "constraint",
927
+ "types": ["btTypedConstraint"],
928
+ "is_optional": "False"
929
+ }
930
+ ],
931
+ "examples": "",
932
+ "replaces": "",
933
+ "error": "",
934
+ "tparams": [],
935
+ "members": [],
936
+ "notes": [],
937
+ "language": ""
938
+ },
939
+ {
940
+ "type": "FUNCTION",
941
+ "name": "bullet3d.constraint.get_pivots",
942
+ "brief": "Get point-to-point pivots",
943
+ "description": "Get point-to-point pivots",
944
+ "returnvalues": [
945
+ {
946
+ "name": "pivot_a",
947
+ "doc": "local body-A pivot",
948
+ "types": ["vector3"]
949
+ },
950
+ {
951
+ "name": "pivot_b",
952
+ "doc": "local body-B pivot or world anchor",
953
+ "types": ["vector3"]
954
+ }
955
+ ],
956
+ "parameters": [
957
+ {
958
+ "name": "constraint",
959
+ "doc": "point-to-point constraint",
960
+ "types": ["btTypedConstraint"],
961
+ "is_optional": "False"
962
+ }
963
+ ],
964
+ "examples": "",
965
+ "replaces": "",
966
+ "error": "",
967
+ "tparams": [],
968
+ "members": [],
969
+ "notes": [],
970
+ "language": ""
971
+ },
972
+ {
973
+ "type": "FUNCTION",
974
+ "name": "bullet3d.constraint.set_pivots",
975
+ "brief": "Set point-to-point pivots",
976
+ "description": "Set point-to-point pivots",
977
+ "returnvalues": [],
978
+ "parameters": [
979
+ {
980
+ "name": "constraint",
981
+ "doc": "point-to-point constraint",
982
+ "types": ["btTypedConstraint"],
983
+ "is_optional": "False"
984
+ },
985
+ {
986
+ "name": "pivot_a",
987
+ "doc": "local body-A pivot",
988
+ "types": ["vector3"],
989
+ "is_optional": "False"
990
+ },
991
+ {
992
+ "name": "pivot_b",
993
+ "doc": "local body-B pivot or world anchor",
994
+ "types": ["vector3"],
995
+ "is_optional": "False"
996
+ }
997
+ ],
998
+ "examples": "",
999
+ "replaces": "",
1000
+ "error": "",
1001
+ "tparams": [],
1002
+ "members": [],
1003
+ "notes": [],
1004
+ "language": ""
1005
+ },
1006
+ {
1007
+ "type": "FUNCTION",
1008
+ "name": "bullet3d.constraint.get_frame_a",
1009
+ "brief": "Get local frame A",
1010
+ "description": "Supported constraint types are hinge, cone-twist, generic 6-DOF, generic\nspring 6-DOF, slider, universal, and hinge2. Point-to-point constraints use\n<code>get_pivots</code> instead.\nReturns position and rotation. For one-body generic 6-DOF and slider\nconstraints this is the user-body frame, despite Bullet storing it as its\nnative frame B.",
1011
+ "returnvalues": [
1012
+ {
1013
+ "name": "position",
1014
+ "doc": "local position",
1015
+ "types": ["vector3"]
1016
+ },
1017
+ {
1018
+ "name": "rotation",
1019
+ "doc": "local rotation",
1020
+ "types": ["quaternion"]
1021
+ }
1022
+ ],
1023
+ "parameters": [
1024
+ {
1025
+ "name": "constraint",
1026
+ "doc": "framed constraint",
1027
+ "types": ["btTypedConstraint"],
1028
+ "is_optional": "False"
1029
+ }
1030
+ ],
1031
+ "examples": "",
1032
+ "replaces": "",
1033
+ "error": "",
1034
+ "tparams": [],
1035
+ "members": [],
1036
+ "notes": [],
1037
+ "language": ""
1038
+ },
1039
+ {
1040
+ "type": "FUNCTION",
1041
+ "name": "bullet3d.constraint.get_frame_b",
1042
+ "brief": "Get local frame B",
1043
+ "description": "Supports the same constraint types as <code>get_frame_a</code>. For a one-body\nconstraint, this is the frame attached to the fixed world body.",
1044
+ "returnvalues": [
1045
+ {
1046
+ "name": "position",
1047
+ "doc": "local position or world frame position",
1048
+ "types": ["vector3"]
1049
+ },
1050
+ {
1051
+ "name": "rotation",
1052
+ "doc": "local rotation or world frame rotation",
1053
+ "types": ["quaternion"]
1054
+ }
1055
+ ],
1056
+ "parameters": [
1057
+ {
1058
+ "name": "constraint",
1059
+ "doc": "framed constraint",
1060
+ "types": ["btTypedConstraint"],
1061
+ "is_optional": "False"
1062
+ }
1063
+ ],
1064
+ "examples": "",
1065
+ "replaces": "",
1066
+ "error": "",
1067
+ "tparams": [],
1068
+ "members": [],
1069
+ "notes": [],
1070
+ "language": ""
1071
+ },
1072
+ {
1073
+ "type": "FUNCTION",
1074
+ "name": "bullet3d.constraint.set_frame_a",
1075
+ "brief": "Set local frame A",
1076
+ "description": "Frame mutation is supported for hinge, generic 6-DOF, generic spring 6-DOF,\nand slider constraints. Cone-twist, universal, and hinge2 frames are\nread-only through this API.",
1077
+ "returnvalues": [],
1078
+ "parameters": [
1079
+ {
1080
+ "name": "constraint",
1081
+ "doc": "mutable framed constraint",
1082
+ "types": ["btTypedConstraint"],
1083
+ "is_optional": "False"
1084
+ },
1085
+ {
1086
+ "name": "position",
1087
+ "doc": "finite local position",
1088
+ "types": ["vector3"],
1089
+ "is_optional": "False"
1090
+ },
1091
+ {
1092
+ "name": "rotation",
1093
+ "doc": "finite, non-zero local rotation; normalized by the binding",
1094
+ "types": ["quaternion"],
1095
+ "is_optional": "False"
1096
+ }
1097
+ ],
1098
+ "examples": "",
1099
+ "replaces": "",
1100
+ "error": "",
1101
+ "tparams": [],
1102
+ "members": [],
1103
+ "notes": [],
1104
+ "language": ""
1105
+ },
1106
+ {
1107
+ "type": "FUNCTION",
1108
+ "name": "bullet3d.constraint.set_frame_b",
1109
+ "brief": "Set local frame B",
1110
+ "description": "Supports the same constraint types as <code>set_frame_a</code>. For a one-body\nconstraint, this changes the frame attached to the fixed world body.",
1111
+ "returnvalues": [],
1112
+ "parameters": [
1113
+ {
1114
+ "name": "constraint",
1115
+ "doc": "mutable framed constraint",
1116
+ "types": ["btTypedConstraint"],
1117
+ "is_optional": "False"
1118
+ },
1119
+ {
1120
+ "name": "position",
1121
+ "doc": "finite local position or world frame position",
1122
+ "types": ["vector3"],
1123
+ "is_optional": "False"
1124
+ },
1125
+ {
1126
+ "name": "rotation",
1127
+ "doc": "finite, non-zero local or world frame rotation; normalized by the binding",
1128
+ "types": ["quaternion"],
1129
+ "is_optional": "False"
1130
+ }
1131
+ ],
1132
+ "examples": "",
1133
+ "replaces": "",
1134
+ "error": "",
1135
+ "tparams": [],
1136
+ "members": [],
1137
+ "notes": [],
1138
+ "language": ""
1139
+ },
1140
+ {
1141
+ "type": "FUNCTION",
1142
+ "name": "bullet3d.constraint.is_angular_only",
1143
+ "brief": "Test angular-only mode",
1144
+ "description": "Test angular-only mode",
1145
+ "returnvalues": [
1146
+ {
1147
+ "name": "angular_only",
1148
+ "doc": "angular-only state",
1149
+ "types": ["boolean"]
1150
+ }
1151
+ ],
1152
+ "parameters": [
1153
+ {
1154
+ "name": "constraint",
1155
+ "doc": "hinge or cone-twist constraint",
1156
+ "types": ["btTypedConstraint"],
1157
+ "is_optional": "False"
1158
+ }
1159
+ ],
1160
+ "examples": "",
1161
+ "replaces": "",
1162
+ "error": "",
1163
+ "tparams": [],
1164
+ "members": [],
1165
+ "notes": [],
1166
+ "language": ""
1167
+ },
1168
+ {
1169
+ "type": "FUNCTION",
1170
+ "name": "bullet3d.constraint.set_angular_only",
1171
+ "brief": "Set angular-only mode",
1172
+ "description": "Set angular-only mode",
1173
+ "returnvalues": [],
1174
+ "parameters": [
1175
+ {
1176
+ "name": "constraint",
1177
+ "doc": "hinge or cone-twist constraint",
1178
+ "types": ["btTypedConstraint"],
1179
+ "is_optional": "False"
1180
+ },
1181
+ {
1182
+ "name": "angular_only",
1183
+ "doc": "angular-only state",
1184
+ "types": ["boolean"],
1185
+ "is_optional": "False"
1186
+ }
1187
+ ],
1188
+ "examples": "",
1189
+ "replaces": "",
1190
+ "error": "",
1191
+ "tparams": [],
1192
+ "members": [],
1193
+ "notes": [],
1194
+ "language": ""
1195
+ },
1196
+ {
1197
+ "type": "FUNCTION",
1198
+ "name": "bullet3d.constraint.get_hinge_angle",
1199
+ "brief": "Get the current hinge angle",
1200
+ "description": "Get the current hinge angle",
1201
+ "returnvalues": [
1202
+ {
1203
+ "name": "angle",
1204
+ "doc": "angle in radians",
1205
+ "types": ["number"]
1206
+ }
1207
+ ],
1208
+ "parameters": [
1209
+ {
1210
+ "name": "constraint",
1211
+ "doc": "hinge constraint",
1212
+ "types": ["btTypedConstraint"],
1213
+ "is_optional": "False"
1214
+ }
1215
+ ],
1216
+ "examples": "",
1217
+ "replaces": "",
1218
+ "error": "",
1219
+ "tparams": [],
1220
+ "members": [],
1221
+ "notes": [],
1222
+ "language": ""
1223
+ },
1224
+ {
1225
+ "type": "FUNCTION",
1226
+ "name": "bullet3d.constraint.get_hinge_limits",
1227
+ "brief": "Get hinge angular limits",
1228
+ "description": "Get hinge angular limits",
1229
+ "returnvalues": [
1230
+ {
1231
+ "name": "lower",
1232
+ "doc": "lower angle in radians",
1233
+ "types": ["number"]
1234
+ },
1235
+ {
1236
+ "name": "upper",
1237
+ "doc": "upper angle in radians",
1238
+ "types": ["number"]
1239
+ }
1240
+ ],
1241
+ "parameters": [
1242
+ {
1243
+ "name": "constraint",
1244
+ "doc": "hinge constraint",
1245
+ "types": ["btTypedConstraint"],
1246
+ "is_optional": "False"
1247
+ }
1248
+ ],
1249
+ "examples": "",
1250
+ "replaces": "",
1251
+ "error": "",
1252
+ "tparams": [],
1253
+ "members": [],
1254
+ "notes": [],
1255
+ "language": ""
1256
+ },
1257
+ {
1258
+ "type": "FUNCTION",
1259
+ "name": "bullet3d.constraint.set_hinge_limits",
1260
+ "brief": "Set hinge angular limits",
1261
+ "description": "Set hinge angular limits",
1262
+ "returnvalues": [],
1263
+ "parameters": [
1264
+ {
1265
+ "name": "constraint",
1266
+ "doc": "hinge constraint",
1267
+ "types": ["btTypedConstraint"],
1268
+ "is_optional": "False"
1269
+ },
1270
+ {
1271
+ "name": "lower",
1272
+ "doc": "lower angle in radians",
1273
+ "types": ["number"],
1274
+ "is_optional": "False"
1275
+ },
1276
+ {
1277
+ "name": "upper",
1278
+ "doc": "upper angle in radians",
1279
+ "types": ["number"],
1280
+ "is_optional": "False"
1281
+ },
1282
+ {
1283
+ "name": "bias",
1284
+ "doc": "optional limit bias from 0 to 1; defaults to <code>0.3</code>",
1285
+ "types": ["number", "nil"],
1286
+ "is_optional": "True"
1287
+ },
1288
+ {
1289
+ "name": "relaxation",
1290
+ "doc": "optional relaxation from 0 to 1; defaults to <code>1</code>",
1291
+ "types": ["number", "nil"],
1292
+ "is_optional": "True"
1293
+ }
1294
+ ],
1295
+ "examples": "",
1296
+ "replaces": "",
1297
+ "error": "",
1298
+ "tparams": [],
1299
+ "members": [],
1300
+ "notes": [],
1301
+ "language": ""
1302
+ },
1303
+ {
1304
+ "type": "FUNCTION",
1305
+ "name": "bullet3d.constraint.get_hinge_motor",
1306
+ "brief": "Get hinge motor settings",
1307
+ "description": "Get hinge motor settings",
1308
+ "returnvalues": [
1309
+ {
1310
+ "name": "enabled",
1311
+ "doc": "motor state",
1312
+ "types": ["boolean"]
1313
+ },
1314
+ {
1315
+ "name": "target_velocity",
1316
+ "doc": "angular target velocity in radians per second",
1317
+ "types": ["number"]
1318
+ },
1319
+ {
1320
+ "name": "max_impulse",
1321
+ "doc": "maximum angular motor impulse in Defold squared units",
1322
+ "types": ["number"]
1323
+ }
1324
+ ],
1325
+ "parameters": [
1326
+ {
1327
+ "name": "constraint",
1328
+ "doc": "hinge constraint",
1329
+ "types": ["btTypedConstraint"],
1330
+ "is_optional": "False"
1331
+ }
1332
+ ],
1333
+ "examples": "",
1334
+ "replaces": "",
1335
+ "error": "",
1336
+ "tparams": [],
1337
+ "members": [],
1338
+ "notes": [],
1339
+ "language": ""
1340
+ },
1341
+ {
1342
+ "type": "FUNCTION",
1343
+ "name": "bullet3d.constraint.set_hinge_motor",
1344
+ "brief": "Set hinge motor settings",
1345
+ "description": "Set hinge motor settings",
1346
+ "returnvalues": [],
1347
+ "parameters": [
1348
+ {
1349
+ "name": "constraint",
1350
+ "doc": "hinge constraint",
1351
+ "types": ["btTypedConstraint"],
1352
+ "is_optional": "False"
1353
+ },
1354
+ {
1355
+ "name": "enabled",
1356
+ "doc": "motor state",
1357
+ "types": ["boolean"],
1358
+ "is_optional": "False"
1359
+ },
1360
+ {
1361
+ "name": "target_velocity",
1362
+ "doc": "angular target velocity in radians per second",
1363
+ "types": ["number"],
1364
+ "is_optional": "False"
1365
+ },
1366
+ {
1367
+ "name": "max_impulse",
1368
+ "doc": "non-negative maximum angular motor impulse in Defold squared units",
1369
+ "types": ["number"],
1370
+ "is_optional": "False"
1371
+ }
1372
+ ],
1373
+ "examples": "",
1374
+ "replaces": "",
1375
+ "error": "",
1376
+ "tparams": [],
1377
+ "members": [],
1378
+ "notes": [],
1379
+ "language": ""
1380
+ },
1381
+ {
1382
+ "type": "FUNCTION",
1383
+ "name": "bullet3d.constraint.set_hinge_motor_target",
1384
+ "brief": "Set a hinge motor angle target",
1385
+ "description": "Set a hinge motor angle target",
1386
+ "returnvalues": [],
1387
+ "parameters": [
1388
+ {
1389
+ "name": "constraint",
1390
+ "doc": "hinge constraint",
1391
+ "types": ["btTypedConstraint"],
1392
+ "is_optional": "False"
1393
+ },
1394
+ {
1395
+ "name": "target_angle",
1396
+ "doc": "target angle in radians",
1397
+ "types": ["number"],
1398
+ "is_optional": "False"
1399
+ },
1400
+ {
1401
+ "name": "time_step",
1402
+ "doc": "positive step duration in seconds",
1403
+ "types": ["number"],
1404
+ "is_optional": "False"
1405
+ }
1406
+ ],
1407
+ "examples": "",
1408
+ "replaces": "",
1409
+ "error": "",
1410
+ "tparams": [],
1411
+ "members": [],
1412
+ "notes": [],
1413
+ "language": ""
1414
+ },
1415
+ {
1416
+ "type": "FUNCTION",
1417
+ "name": "bullet3d.constraint.set_hinge_axis",
1418
+ "brief": "Set the one-body hinge axis",
1419
+ "description": "This function only supports hinges attached to the world. For a two-body\nhinge, change both local frames with <code>set_frame_a</code> and <code>set_frame_b</code>.",
1420
+ "returnvalues": [],
1421
+ "parameters": [
1422
+ {
1423
+ "name": "constraint",
1424
+ "doc": "one-body hinge constraint",
1425
+ "types": ["btTypedConstraint"],
1426
+ "is_optional": "False"
1427
+ },
1428
+ {
1429
+ "name": "axis",
1430
+ "doc": "non-zero axis in body-A space",
1431
+ "types": ["vector3"],
1432
+ "is_optional": "False"
1433
+ }
1434
+ ],
1435
+ "examples": "",
1436
+ "replaces": "",
1437
+ "error": "",
1438
+ "tparams": [],
1439
+ "members": [],
1440
+ "notes": [],
1441
+ "language": ""
1442
+ },
1443
+ {
1444
+ "type": "FUNCTION",
1445
+ "name": "bullet3d.constraint.get_cone_twist_limits",
1446
+ "brief": "Get cone-twist angular spans",
1447
+ "description": "Get cone-twist angular spans",
1448
+ "returnvalues": [
1449
+ {
1450
+ "name": "swing_span_1",
1451
+ "doc": "first swing span in radians",
1452
+ "types": ["number"]
1453
+ },
1454
+ {
1455
+ "name": "swing_span_2",
1456
+ "doc": "second swing span in radians",
1457
+ "types": ["number"]
1458
+ },
1459
+ {
1460
+ "name": "twist_span",
1461
+ "doc": "twist span in radians",
1462
+ "types": ["number"]
1463
+ }
1464
+ ],
1465
+ "parameters": [
1466
+ {
1467
+ "name": "constraint",
1468
+ "doc": "cone-twist constraint",
1469
+ "types": ["btTypedConstraint"],
1470
+ "is_optional": "False"
1471
+ }
1472
+ ],
1473
+ "examples": "",
1474
+ "replaces": "",
1475
+ "error": "",
1476
+ "tparams": [],
1477
+ "members": [],
1478
+ "notes": [],
1479
+ "language": ""
1480
+ },
1481
+ {
1482
+ "type": "FUNCTION",
1483
+ "name": "bullet3d.constraint.set_cone_twist_limits",
1484
+ "brief": "Set cone-twist angular spans",
1485
+ "description": "Set cone-twist angular spans",
1486
+ "returnvalues": [],
1487
+ "parameters": [
1488
+ {
1489
+ "name": "constraint",
1490
+ "doc": "cone-twist constraint",
1491
+ "types": ["btTypedConstraint"],
1492
+ "is_optional": "False"
1493
+ },
1494
+ {
1495
+ "name": "swing_span_1",
1496
+ "doc": "non-negative first swing span in radians",
1497
+ "types": ["number"],
1498
+ "is_optional": "False"
1499
+ },
1500
+ {
1501
+ "name": "swing_span_2",
1502
+ "doc": "non-negative second swing span in radians",
1503
+ "types": ["number"],
1504
+ "is_optional": "False"
1505
+ },
1506
+ {
1507
+ "name": "twist_span",
1508
+ "doc": "non-negative twist span in radians",
1509
+ "types": ["number"],
1510
+ "is_optional": "False"
1511
+ },
1512
+ {
1513
+ "name": "softness",
1514
+ "doc": "optional softness from 0 to 1; defaults to <code>1</code>",
1515
+ "types": ["number", "nil"],
1516
+ "is_optional": "True"
1517
+ },
1518
+ {
1519
+ "name": "bias",
1520
+ "doc": "optional bias from 0 to 1; defaults to <code>0.3</code>",
1521
+ "types": ["number", "nil"],
1522
+ "is_optional": "True"
1523
+ },
1524
+ {
1525
+ "name": "relaxation",
1526
+ "doc": "optional relaxation from 0 to 1; defaults to <code>1</code>",
1527
+ "types": ["number", "nil"],
1528
+ "is_optional": "True"
1529
+ }
1530
+ ],
1531
+ "examples": "",
1532
+ "replaces": "",
1533
+ "error": "",
1534
+ "tparams": [],
1535
+ "members": [],
1536
+ "notes": [],
1537
+ "language": ""
1538
+ },
1539
+ {
1540
+ "type": "FUNCTION",
1541
+ "name": "bullet3d.constraint.get_twist_angle",
1542
+ "brief": "Get the current cone-twist twist angle",
1543
+ "description": "Get the current cone-twist twist angle",
1544
+ "returnvalues": [
1545
+ {
1546
+ "name": "angle",
1547
+ "doc": "twist angle in radians",
1548
+ "types": ["number"]
1549
+ }
1550
+ ],
1551
+ "parameters": [
1552
+ {
1553
+ "name": "constraint",
1554
+ "doc": "cone-twist constraint",
1555
+ "types": ["btTypedConstraint"],
1556
+ "is_optional": "False"
1557
+ }
1558
+ ],
1559
+ "examples": "",
1560
+ "replaces": "",
1561
+ "error": "",
1562
+ "tparams": [],
1563
+ "members": [],
1564
+ "notes": [],
1565
+ "language": ""
1566
+ },
1567
+ {
1568
+ "type": "FUNCTION",
1569
+ "name": "bullet3d.constraint.is_past_swing_limit",
1570
+ "brief": "Test whether a cone-twist is past its swing limit",
1571
+ "description": "Test whether a cone-twist is past its swing limit",
1572
+ "returnvalues": [
1573
+ {
1574
+ "name": "past_limit",
1575
+ "doc": "swing-limit state",
1576
+ "types": ["boolean"]
1577
+ }
1578
+ ],
1579
+ "parameters": [
1580
+ {
1581
+ "name": "constraint",
1582
+ "doc": "cone-twist constraint",
1583
+ "types": ["btTypedConstraint"],
1584
+ "is_optional": "False"
1585
+ }
1586
+ ],
1587
+ "examples": "",
1588
+ "replaces": "",
1589
+ "error": "",
1590
+ "tparams": [],
1591
+ "members": [],
1592
+ "notes": [],
1593
+ "language": ""
1594
+ },
1595
+ {
1596
+ "type": "FUNCTION",
1597
+ "name": "bullet3d.constraint.enable_cone_twist_motor",
1598
+ "brief": "Enable or disable the cone-twist motor",
1599
+ "description": "Enable or disable the cone-twist motor",
1600
+ "returnvalues": [],
1601
+ "parameters": [
1602
+ {
1603
+ "name": "constraint",
1604
+ "doc": "cone-twist constraint",
1605
+ "types": ["btTypedConstraint"],
1606
+ "is_optional": "False"
1607
+ },
1608
+ {
1609
+ "name": "enabled",
1610
+ "doc": "motor state",
1611
+ "types": ["boolean"],
1612
+ "is_optional": "False"
1613
+ }
1614
+ ],
1615
+ "examples": "",
1616
+ "replaces": "",
1617
+ "error": "",
1618
+ "tparams": [],
1619
+ "members": [],
1620
+ "notes": [],
1621
+ "language": ""
1622
+ },
1623
+ {
1624
+ "type": "FUNCTION",
1625
+ "name": "bullet3d.constraint.set_cone_twist_motor_target",
1626
+ "brief": "Set the cone-twist motor target",
1627
+ "description": "By default, <code>target</code> is the desired rotation of body A relative to body B.\nWith <code>constraint_space</code> set, it is the desired rotation of frame A relative\nto frame B in constraint space.",
1628
+ "returnvalues": [],
1629
+ "parameters": [
1630
+ {
1631
+ "name": "constraint",
1632
+ "doc": "cone-twist constraint",
1633
+ "types": ["btTypedConstraint"],
1634
+ "is_optional": "False"
1635
+ },
1636
+ {
1637
+ "name": "target",
1638
+ "doc": "finite, non-zero target orientation; normalized by the binding",
1639
+ "types": ["quaternion"],
1640
+ "is_optional": "False"
1641
+ },
1642
+ {
1643
+ "name": "constraint_space",
1644
+ "doc": "optional target-is-in-constraint-space flag; defaults to <code>false</code>",
1645
+ "types": ["boolean", "nil"],
1646
+ "is_optional": "True"
1647
+ }
1648
+ ],
1649
+ "examples": "",
1650
+ "replaces": "",
1651
+ "error": "",
1652
+ "tparams": [],
1653
+ "members": [],
1654
+ "notes": [],
1655
+ "language": ""
1656
+ },
1657
+ {
1658
+ "type": "FUNCTION",
1659
+ "name": "bullet3d.constraint.get_limit",
1660
+ "brief": "Get a 6-DOF axis limit",
1661
+ "description": "Axes 1-3 return linear limits in Defold units. Axes 4-6 return angular\nlimits in radians.",
1662
+ "returnvalues": [
1663
+ {
1664
+ "name": "lower",
1665
+ "doc": "lower limit",
1666
+ "types": ["number"]
1667
+ },
1668
+ {
1669
+ "name": "upper",
1670
+ "doc": "upper limit",
1671
+ "types": ["number"]
1672
+ }
1673
+ ],
1674
+ "parameters": [
1675
+ {
1676
+ "name": "constraint",
1677
+ "doc": "6-DOF-derived constraint",
1678
+ "types": ["btTypedConstraint"],
1679
+ "is_optional": "False"
1680
+ },
1681
+ {
1682
+ "name": "axis",
1683
+ "doc": "one-based axis from 1 to 6",
1684
+ "types": ["integer"],
1685
+ "is_optional": "False"
1686
+ }
1687
+ ],
1688
+ "examples": "",
1689
+ "replaces": "",
1690
+ "error": "",
1691
+ "tparams": [],
1692
+ "members": [],
1693
+ "notes": [],
1694
+ "language": ""
1695
+ },
1696
+ {
1697
+ "type": "FUNCTION",
1698
+ "name": "bullet3d.constraint.set_limit",
1699
+ "brief": "Set a 6-DOF axis limit",
1700
+ "description": "Axes 1-3 use Defold units and axes 4-6 use radians. A lower value less than\nthe upper value creates a limited range, equal values lock the axis, and a\nlower value greater than the upper value makes the axis free.",
1701
+ "returnvalues": [],
1702
+ "parameters": [
1703
+ {
1704
+ "name": "constraint",
1705
+ "doc": "6-DOF-derived constraint",
1706
+ "types": ["btTypedConstraint"],
1707
+ "is_optional": "False"
1708
+ },
1709
+ {
1710
+ "name": "axis",
1711
+ "doc": "one-based axis from 1 to 6",
1712
+ "types": ["integer"],
1713
+ "is_optional": "False"
1714
+ },
1715
+ {
1716
+ "name": "lower",
1717
+ "doc": "lower limit",
1718
+ "types": ["number"],
1719
+ "is_optional": "False"
1720
+ },
1721
+ {
1722
+ "name": "upper",
1723
+ "doc": "upper limit",
1724
+ "types": ["number"],
1725
+ "is_optional": "False"
1726
+ }
1727
+ ],
1728
+ "examples": "",
1729
+ "replaces": "",
1730
+ "error": "",
1731
+ "tparams": [],
1732
+ "members": [],
1733
+ "notes": [],
1734
+ "language": ""
1735
+ },
1736
+ {
1737
+ "type": "FUNCTION",
1738
+ "name": "bullet3d.constraint.is_limited",
1739
+ "brief": "Test whether a 6-DOF axis is limited",
1740
+ "description": "Both a ranged and a locked axis are considered limited; a free axis is not.",
1741
+ "returnvalues": [
1742
+ {
1743
+ "name": "limited",
1744
+ "doc": "limit state",
1745
+ "types": ["boolean"]
1746
+ }
1747
+ ],
1748
+ "parameters": [
1749
+ {
1750
+ "name": "constraint",
1751
+ "doc": "6-DOF-derived constraint",
1752
+ "types": ["btTypedConstraint"],
1753
+ "is_optional": "False"
1754
+ },
1755
+ {
1756
+ "name": "axis",
1757
+ "doc": "one-based axis from 1 to 6",
1758
+ "types": ["integer"],
1759
+ "is_optional": "False"
1760
+ }
1761
+ ],
1762
+ "examples": "",
1763
+ "replaces": "",
1764
+ "error": "",
1765
+ "tparams": [],
1766
+ "members": [],
1767
+ "notes": [],
1768
+ "language": ""
1769
+ },
1770
+ {
1771
+ "type": "FUNCTION",
1772
+ "name": "bullet3d.constraint.get_6dof_axis",
1773
+ "brief": "Get a current 6-DOF angular axis",
1774
+ "description": "Get a current 6-DOF angular axis",
1775
+ "returnvalues": [
1776
+ {
1777
+ "name": "direction",
1778
+ "doc": "world-space unit axis",
1779
+ "types": ["vector3"]
1780
+ }
1781
+ ],
1782
+ "parameters": [
1783
+ {
1784
+ "name": "constraint",
1785
+ "doc": "6-DOF-derived constraint",
1786
+ "types": ["btTypedConstraint"],
1787
+ "is_optional": "False"
1788
+ },
1789
+ {
1790
+ "name": "axis",
1791
+ "doc": "one-based angular-axis index from 1 to 3",
1792
+ "types": ["integer"],
1793
+ "is_optional": "False"
1794
+ }
1795
+ ],
1796
+ "examples": "",
1797
+ "replaces": "",
1798
+ "error": "",
1799
+ "tparams": [],
1800
+ "members": [],
1801
+ "notes": [],
1802
+ "language": ""
1803
+ },
1804
+ {
1805
+ "type": "FUNCTION",
1806
+ "name": "bullet3d.constraint.get_6dof_angle",
1807
+ "brief": "Get a current 6-DOF angle",
1808
+ "description": "Get a current 6-DOF angle",
1809
+ "returnvalues": [
1810
+ {
1811
+ "name": "angle",
1812
+ "doc": "current angle in radians",
1813
+ "types": ["number"]
1814
+ }
1815
+ ],
1816
+ "parameters": [
1817
+ {
1818
+ "name": "constraint",
1819
+ "doc": "6-DOF-derived constraint",
1820
+ "types": ["btTypedConstraint"],
1821
+ "is_optional": "False"
1822
+ },
1823
+ {
1824
+ "name": "axis",
1825
+ "doc": "one-based angular-axis index from 1 to 3",
1826
+ "types": ["integer"],
1827
+ "is_optional": "False"
1828
+ }
1829
+ ],
1830
+ "examples": "",
1831
+ "replaces": "",
1832
+ "error": "",
1833
+ "tparams": [],
1834
+ "members": [],
1835
+ "notes": [],
1836
+ "language": ""
1837
+ },
1838
+ {
1839
+ "type": "FUNCTION",
1840
+ "name": "bullet3d.constraint.get_6dof_position",
1841
+ "brief": "Get a current 6-DOF linear position",
1842
+ "description": "Get a current 6-DOF linear position",
1843
+ "returnvalues": [
1844
+ {
1845
+ "name": "position",
1846
+ "doc": "relative position in Defold units",
1847
+ "types": ["number"]
1848
+ }
1849
+ ],
1850
+ "parameters": [
1851
+ {
1852
+ "name": "constraint",
1853
+ "doc": "6-DOF-derived constraint",
1854
+ "types": ["btTypedConstraint"],
1855
+ "is_optional": "False"
1856
+ },
1857
+ {
1858
+ "name": "axis",
1859
+ "doc": "one-based linear-axis index from 1 to 3",
1860
+ "types": ["integer"],
1861
+ "is_optional": "False"
1862
+ }
1863
+ ],
1864
+ "examples": "",
1865
+ "replaces": "",
1866
+ "error": "",
1867
+ "tparams": [],
1868
+ "members": [],
1869
+ "notes": [],
1870
+ "language": ""
1871
+ },
1872
+ {
1873
+ "type": "FUNCTION",
1874
+ "name": "bullet3d.constraint.get_6dof_motor",
1875
+ "brief": "Get 6-DOF motor settings",
1876
+ "description": "Axes 1-3 are linear and axes 4-6 are angular. Generic 6-DOF, generic spring\n6-DOF, and universal constraints support bounce only on angular axes; hinge2\nsupports it on every axis. Linear target velocity uses Defold units per\nsecond and angular target velocity uses radians per second. <code>max_force</code> is a\nforce for linear axes and a torque in Defold squared units for angular axes.",
1877
+ "returnvalues": [
1878
+ {
1879
+ "name": "enabled",
1880
+ "doc": "motor state",
1881
+ "types": ["boolean"]
1882
+ },
1883
+ {
1884
+ "name": "target_velocity",
1885
+ "doc": "linear or angular target velocity",
1886
+ "types": ["number"]
1887
+ },
1888
+ {
1889
+ "name": "max_force",
1890
+ "doc": "maximum motor force for linear axes or torque for angular axes",
1891
+ "types": ["number"]
1892
+ },
1893
+ {
1894
+ "name": "bounce",
1895
+ "doc": "bounce from 0 to 1",
1896
+ "types": ["number"]
1897
+ }
1898
+ ],
1899
+ "parameters": [
1900
+ {
1901
+ "name": "constraint",
1902
+ "doc": "6-DOF-derived constraint",
1903
+ "types": ["btTypedConstraint"],
1904
+ "is_optional": "False"
1905
+ },
1906
+ {
1907
+ "name": "axis",
1908
+ "doc": "one-based axis from 1 to 6",
1909
+ "types": ["integer"],
1910
+ "is_optional": "False"
1911
+ }
1912
+ ],
1913
+ "examples": "",
1914
+ "replaces": "",
1915
+ "error": "",
1916
+ "tparams": [],
1917
+ "members": [],
1918
+ "notes": [],
1919
+ "language": ""
1920
+ },
1921
+ {
1922
+ "type": "FUNCTION",
1923
+ "name": "bullet3d.constraint.set_6dof_motor",
1924
+ "brief": "Set 6-DOF motor settings",
1925
+ "description": "Linear and angular values use the units described by <code>get_6dof_motor</code>.",
1926
+ "returnvalues": [],
1927
+ "parameters": [
1928
+ {
1929
+ "name": "constraint",
1930
+ "doc": "6-DOF-derived constraint",
1931
+ "types": ["btTypedConstraint"],
1932
+ "is_optional": "False"
1933
+ },
1934
+ {
1935
+ "name": "axis",
1936
+ "doc": "one-based axis from 1 to 6",
1937
+ "types": ["integer"],
1938
+ "is_optional": "False"
1939
+ },
1940
+ {
1941
+ "name": "enabled",
1942
+ "doc": "motor state",
1943
+ "types": ["boolean"],
1944
+ "is_optional": "False"
1945
+ },
1946
+ {
1947
+ "name": "target_velocity",
1948
+ "doc": "linear or angular target velocity",
1949
+ "types": ["number"],
1950
+ "is_optional": "False"
1951
+ },
1952
+ {
1953
+ "name": "max_force",
1954
+ "doc": "non-negative maximum motor force for linear axes or torque for angular axes",
1955
+ "types": ["number"],
1956
+ "is_optional": "False"
1957
+ },
1958
+ {
1959
+ "name": "bounce",
1960
+ "doc": "optional bounce from 0 to 1; defaults to <code>0</code>",
1961
+ "types": ["number", "nil"],
1962
+ "is_optional": "True"
1963
+ }
1964
+ ],
1965
+ "examples": "",
1966
+ "replaces": "",
1967
+ "error": "",
1968
+ "tparams": [],
1969
+ "members": [],
1970
+ "notes": [],
1971
+ "language": ""
1972
+ },
1973
+ {
1974
+ "type": "FUNCTION",
1975
+ "name": "bullet3d.constraint.enable_spring",
1976
+ "brief": "Enable or disable a spring axis",
1977
+ "description": "Enable or disable a spring axis",
1978
+ "returnvalues": [],
1979
+ "parameters": [
1980
+ {
1981
+ "name": "constraint",
1982
+ "doc": "spring 6-DOF or hinge2 constraint",
1983
+ "types": ["btTypedConstraint"],
1984
+ "is_optional": "False"
1985
+ },
1986
+ {
1987
+ "name": "axis",
1988
+ "doc": "one-based axis from 1 to 6",
1989
+ "types": ["integer"],
1990
+ "is_optional": "False"
1991
+ },
1992
+ {
1993
+ "name": "enabled",
1994
+ "doc": "spring state",
1995
+ "types": ["boolean"],
1996
+ "is_optional": "False"
1997
+ }
1998
+ ],
1999
+ "examples": "",
2000
+ "replaces": "",
2001
+ "error": "",
2002
+ "tparams": [],
2003
+ "members": [],
2004
+ "notes": [],
2005
+ "language": ""
2006
+ },
2007
+ {
2008
+ "type": "FUNCTION",
2009
+ "name": "bullet3d.constraint.set_spring_stiffness",
2010
+ "brief": "Set spring stiffness",
2011
+ "description": "Linear stiffness values are independent of <code>physics.scale</code>. Angular\nstiffness values are automatically converted using <code>physics.scale</code> squared.",
2012
+ "returnvalues": [],
2013
+ "parameters": [
2014
+ {
2015
+ "name": "constraint",
2016
+ "doc": "spring 6-DOF or hinge2 constraint",
2017
+ "types": ["btTypedConstraint"],
2018
+ "is_optional": "False"
2019
+ },
2020
+ {
2021
+ "name": "axis",
2022
+ "doc": "one-based axis from 1 to 6",
2023
+ "types": ["integer"],
2024
+ "is_optional": "False"
2025
+ },
2026
+ {
2027
+ "name": "stiffness",
2028
+ "doc": "non-negative stiffness",
2029
+ "types": ["number"],
2030
+ "is_optional": "False"
2031
+ }
2032
+ ],
2033
+ "examples": "",
2034
+ "replaces": "",
2035
+ "error": "",
2036
+ "tparams": [],
2037
+ "members": [],
2038
+ "notes": [],
2039
+ "language": ""
2040
+ },
2041
+ {
2042
+ "type": "FUNCTION",
2043
+ "name": "bullet3d.constraint.set_spring_damping",
2044
+ "brief": "Set spring damping",
2045
+ "description": "Generic spring 6-DOF constraints use a scale-independent damping factor from\n0 to 1, where 1 means no damping. Hinge2 constraints use a damping coefficient\nwhere 0 means no damping and any non-negative value is accepted. Hinge2\nangular damping is automatically converted using <code>physics.scale</code> squared.",
2046
+ "returnvalues": [],
2047
+ "parameters": [
2048
+ {
2049
+ "name": "constraint",
2050
+ "doc": "spring 6-DOF or hinge2 constraint",
2051
+ "types": ["btTypedConstraint"],
2052
+ "is_optional": "False"
2053
+ },
2054
+ {
2055
+ "name": "axis",
2056
+ "doc": "one-based axis from 1 to 6",
2057
+ "types": ["integer"],
2058
+ "is_optional": "False"
2059
+ },
2060
+ {
2061
+ "name": "damping",
2062
+ "doc": "damping value in the range required by the constraint type",
2063
+ "types": ["number"],
2064
+ "is_optional": "False"
2065
+ }
2066
+ ],
2067
+ "examples": "",
2068
+ "replaces": "",
2069
+ "error": "",
2070
+ "tparams": [],
2071
+ "members": [],
2072
+ "notes": [],
2073
+ "language": ""
2074
+ },
2075
+ {
2076
+ "type": "FUNCTION",
2077
+ "name": "bullet3d.constraint.set_spring_equilibrium_point",
2078
+ "brief": "Set spring equilibrium points",
2079
+ "description": "With no axis, captures all current transforms. With an axis and no value,\ncaptures that axis. Linear values use Defold units and angular values use\nradians.",
2080
+ "returnvalues": [],
2081
+ "parameters": [
2082
+ {
2083
+ "name": "constraint",
2084
+ "doc": "spring 6-DOF or hinge2 constraint",
2085
+ "types": ["btTypedConstraint"],
2086
+ "is_optional": "False"
2087
+ },
2088
+ {
2089
+ "name": "axis",
2090
+ "doc": "optional one-based axis from 1 to 6",
2091
+ "types": ["integer", "nil"],
2092
+ "is_optional": "True"
2093
+ },
2094
+ {
2095
+ "name": "value",
2096
+ "doc": "optional explicit equilibrium value",
2097
+ "types": ["number", "nil"],
2098
+ "is_optional": "True"
2099
+ }
2100
+ ],
2101
+ "examples": "",
2102
+ "replaces": "",
2103
+ "error": "",
2104
+ "tparams": [],
2105
+ "members": [],
2106
+ "notes": [],
2107
+ "language": ""
2108
+ },
2109
+ {
2110
+ "type": "FUNCTION",
2111
+ "name": "bullet3d.constraint.get_slider_limits",
2112
+ "brief": "Get slider limits",
2113
+ "description": "Get slider limits",
2114
+ "returnvalues": [
2115
+ {
2116
+ "name": "lower_linear",
2117
+ "doc": "lower linear limit in Defold units",
2118
+ "types": ["number"]
2119
+ },
2120
+ {
2121
+ "name": "upper_linear",
2122
+ "doc": "upper linear limit in Defold units",
2123
+ "types": ["number"]
2124
+ },
2125
+ {
2126
+ "name": "lower_angular",
2127
+ "doc": "lower angular limit in radians",
2128
+ "types": ["number"]
2129
+ },
2130
+ {
2131
+ "name": "upper_angular",
2132
+ "doc": "upper angular limit in radians",
2133
+ "types": ["number"]
2134
+ }
2135
+ ],
2136
+ "parameters": [
2137
+ {
2138
+ "name": "constraint",
2139
+ "doc": "slider constraint",
2140
+ "types": ["btTypedConstraint"],
2141
+ "is_optional": "False"
2142
+ }
2143
+ ],
2144
+ "examples": "",
2145
+ "replaces": "",
2146
+ "error": "",
2147
+ "tparams": [],
2148
+ "members": [],
2149
+ "notes": [],
2150
+ "language": ""
2151
+ },
2152
+ {
2153
+ "type": "FUNCTION",
2154
+ "name": "bullet3d.constraint.set_slider_limits",
2155
+ "brief": "Set slider limits",
2156
+ "description": "Each lower/upper pair follows Bullet's limit convention: lower less than\nupper creates a limited range, equal values lock that axis, and lower greater\nthan upper makes it free. Bullet normalizes the angular limits.",
2157
+ "returnvalues": [],
2158
+ "parameters": [
2159
+ {
2160
+ "name": "constraint",
2161
+ "doc": "slider constraint",
2162
+ "types": ["btTypedConstraint"],
2163
+ "is_optional": "False"
2164
+ },
2165
+ {
2166
+ "name": "lower_linear",
2167
+ "doc": "lower linear limit in Defold units",
2168
+ "types": ["number"],
2169
+ "is_optional": "False"
2170
+ },
2171
+ {
2172
+ "name": "upper_linear",
2173
+ "doc": "upper linear limit in Defold units",
2174
+ "types": ["number"],
2175
+ "is_optional": "False"
2176
+ },
2177
+ {
2178
+ "name": "lower_angular",
2179
+ "doc": "lower angular limit in radians",
2180
+ "types": ["number"],
2181
+ "is_optional": "False"
2182
+ },
2183
+ {
2184
+ "name": "upper_angular",
2185
+ "doc": "upper angular limit in radians",
2186
+ "types": ["number"],
2187
+ "is_optional": "False"
2188
+ }
2189
+ ],
2190
+ "examples": "",
2191
+ "replaces": "",
2192
+ "error": "",
2193
+ "tparams": [],
2194
+ "members": [],
2195
+ "notes": [],
2196
+ "language": ""
2197
+ },
2198
+ {
2199
+ "type": "FUNCTION",
2200
+ "name": "bullet3d.constraint.get_slider_position",
2201
+ "brief": "Get the current slider position",
2202
+ "description": "Get the current slider position",
2203
+ "returnvalues": [
2204
+ {
2205
+ "name": "position",
2206
+ "doc": "current linear position in Defold units",
2207
+ "types": ["number"]
2208
+ }
2209
+ ],
2210
+ "parameters": [
2211
+ {
2212
+ "name": "constraint",
2213
+ "doc": "slider constraint",
2214
+ "types": ["btTypedConstraint"],
2215
+ "is_optional": "False"
2216
+ }
2217
+ ],
2218
+ "examples": "",
2219
+ "replaces": "",
2220
+ "error": "",
2221
+ "tparams": [],
2222
+ "members": [],
2223
+ "notes": [],
2224
+ "language": ""
2225
+ },
2226
+ {
2227
+ "type": "FUNCTION",
2228
+ "name": "bullet3d.constraint.get_slider_motor",
2229
+ "brief": "Get slider motor settings",
2230
+ "description": "The linear motor uses Defold units per second and maximum force. The angular\nmotor uses radians per second and maximum torque in Defold squared units.",
2231
+ "returnvalues": [
2232
+ {
2233
+ "name": "enabled",
2234
+ "doc": "motor state",
2235
+ "types": ["boolean"]
2236
+ },
2237
+ {
2238
+ "name": "target_velocity",
2239
+ "doc": "linear or angular target velocity",
2240
+ "types": ["number"]
2241
+ },
2242
+ {
2243
+ "name": "max_force",
2244
+ "doc": "maximum linear force or angular torque",
2245
+ "types": ["number"]
2246
+ }
2247
+ ],
2248
+ "parameters": [
2249
+ {
2250
+ "name": "constraint",
2251
+ "doc": "slider constraint",
2252
+ "types": ["btTypedConstraint"],
2253
+ "is_optional": "False"
2254
+ },
2255
+ {
2256
+ "name": "motor",
2257
+ "doc": "<code>linear</code> or <code>angular</code>",
2258
+ "types": ["string"],
2259
+ "is_optional": "False"
2260
+ }
2261
+ ],
2262
+ "examples": "",
2263
+ "replaces": "",
2264
+ "error": "",
2265
+ "tparams": [],
2266
+ "members": [],
2267
+ "notes": [],
2268
+ "language": ""
2269
+ },
2270
+ {
2271
+ "type": "FUNCTION",
2272
+ "name": "bullet3d.constraint.set_slider_motor",
2273
+ "brief": "Set slider motor settings",
2274
+ "description": "Linear and angular values use the units described by <code>get_slider_motor</code>.",
2275
+ "returnvalues": [],
2276
+ "parameters": [
2277
+ {
2278
+ "name": "constraint",
2279
+ "doc": "slider constraint",
2280
+ "types": ["btTypedConstraint"],
2281
+ "is_optional": "False"
2282
+ },
2283
+ {
2284
+ "name": "motor",
2285
+ "doc": "<code>linear</code> or <code>angular</code>",
2286
+ "types": ["string"],
2287
+ "is_optional": "False"
2288
+ },
2289
+ {
2290
+ "name": "enabled",
2291
+ "doc": "motor state",
2292
+ "types": ["boolean"],
2293
+ "is_optional": "False"
2294
+ },
2295
+ {
2296
+ "name": "target_velocity",
2297
+ "doc": "linear or angular target velocity",
2298
+ "types": ["number"],
2299
+ "is_optional": "False"
2300
+ },
2301
+ {
2302
+ "name": "max_force",
2303
+ "doc": "non-negative maximum linear force or angular torque",
2304
+ "types": ["number"],
2305
+ "is_optional": "False"
2306
+ }
2307
+ ],
2308
+ "examples": "",
2309
+ "replaces": "",
2310
+ "error": "",
2311
+ "tparams": [],
2312
+ "members": [],
2313
+ "notes": [],
2314
+ "language": ""
2315
+ },
2316
+ {
2317
+ "type": "FUNCTION",
2318
+ "name": "bullet3d.constraint.get_use_linear_reference_frame_a",
2319
+ "brief": "Get the slider linear reference-frame choice",
2320
+ "description": "Get the slider linear reference-frame choice",
2321
+ "returnvalues": [
2322
+ {
2323
+ "name": "use_frame_a",
2324
+ "doc": "true when linear calculations reference frame A",
2325
+ "types": ["boolean"]
2326
+ }
2327
+ ],
2328
+ "parameters": [
2329
+ {
2330
+ "name": "constraint",
2331
+ "doc": "slider constraint",
2332
+ "types": ["btTypedConstraint"],
2333
+ "is_optional": "False"
2334
+ }
2335
+ ],
2336
+ "examples": "",
2337
+ "replaces": "",
2338
+ "error": "",
2339
+ "tparams": [],
2340
+ "members": [],
2341
+ "notes": [],
2342
+ "language": ""
2343
+ },
2344
+ {
2345
+ "type": "FUNCTION",
2346
+ "name": "bullet3d.constraint.get_anchors",
2347
+ "brief": "Get universal or hinge2 anchors",
2348
+ "description": "Get universal or hinge2 anchors",
2349
+ "returnvalues": [
2350
+ {
2351
+ "name": "anchor_a",
2352
+ "doc": "world-space anchor on body A",
2353
+ "types": ["vector3"]
2354
+ },
2355
+ {
2356
+ "name": "anchor_b",
2357
+ "doc": "world-space anchor on body B",
2358
+ "types": ["vector3"]
2359
+ }
2360
+ ],
2361
+ "parameters": [
2362
+ {
2363
+ "name": "constraint",
2364
+ "doc": "universal or hinge2 constraint",
2365
+ "types": ["btTypedConstraint"],
2366
+ "is_optional": "False"
2367
+ }
2368
+ ],
2369
+ "examples": "",
2370
+ "replaces": "",
2371
+ "error": "",
2372
+ "tparams": [],
2373
+ "members": [],
2374
+ "notes": [],
2375
+ "language": ""
2376
+ },
2377
+ {
2378
+ "type": "FUNCTION",
2379
+ "name": "bullet3d.constraint.get_axes",
2380
+ "brief": "Get universal or hinge2 axes",
2381
+ "description": "Get universal or hinge2 axes",
2382
+ "returnvalues": [
2383
+ {
2384
+ "name": "axis_1",
2385
+ "doc": "first world-space unit axis",
2386
+ "types": ["vector3"]
2387
+ },
2388
+ {
2389
+ "name": "axis_2",
2390
+ "doc": "second world-space unit axis",
2391
+ "types": ["vector3"]
2392
+ }
2393
+ ],
2394
+ "parameters": [
2395
+ {
2396
+ "name": "constraint",
2397
+ "doc": "universal or hinge2 constraint",
2398
+ "types": ["btTypedConstraint"],
2399
+ "is_optional": "False"
2400
+ }
2401
+ ],
2402
+ "examples": "",
2403
+ "replaces": "",
2404
+ "error": "",
2405
+ "tparams": [],
2406
+ "members": [],
2407
+ "notes": [],
2408
+ "language": ""
2409
+ },
2410
+ {
2411
+ "type": "FUNCTION",
2412
+ "name": "bullet3d.constraint.get_angles",
2413
+ "brief": "Get universal or hinge2 angles",
2414
+ "description": "Get universal or hinge2 angles",
2415
+ "returnvalues": [
2416
+ {
2417
+ "name": "angle_1",
2418
+ "doc": "first angle in radians",
2419
+ "types": ["number"]
2420
+ },
2421
+ {
2422
+ "name": "angle_2",
2423
+ "doc": "second angle in radians",
2424
+ "types": ["number"]
2425
+ }
2426
+ ],
2427
+ "parameters": [
2428
+ {
2429
+ "name": "constraint",
2430
+ "doc": "universal or hinge2 constraint",
2431
+ "types": ["btTypedConstraint"],
2432
+ "is_optional": "False"
2433
+ }
2434
+ ],
2435
+ "examples": "",
2436
+ "replaces": "",
2437
+ "error": "",
2438
+ "tparams": [],
2439
+ "members": [],
2440
+ "notes": [],
2441
+ "language": ""
2442
+ }
2443
+ ],
2444
+ "info": {
2445
+ "namespace": "bullet3d.constraint",
2446
+ "name": "bullet3d.constraint",
2447
+ "brief": "Bullet constraint API",
2448
+ "description": "Creates and controls Bullet constraints between Defold rigid bodies. A\nconstraint belongs to the supplied world and is destroyed automatically\nwith either body, with the world, or when the module is finalized. It is\ntemporarily removed from the native world while either linked body is\ndisabled and is restored when both bodies are enabled again. Dropping its\nLua userdata does not destroy the native constraint; call `destroy` for\nearly release.\n\nCreator positions and all other linear values use Defold units and are\nconverted with `physics.scale`. Angles are radians. Axes are one-based in\nLua: axes 1-3 are linear and axes 4-6 are angular. Mutating functions cannot\nbe called while the physics world is stepping. Floating-point and vector\ninputs must be finite. Axis vectors must be non-zero and are normalized.\nInput rotations must be finite, non-zero quaternions and are normalized by\nthe binding.\n\n`CONSTRAINT_TYPE_*` values identify the concrete constraint exposed by this\nbinding. This deliberately distinguishes universal, hinge2, and spring 6-DOF\nconstraints independently of Bullet's internal constraint type hierarchy.",
2449
+ "path": "engine/gamesys/src/gamesys/scripts/bullet3d/script_bullet3d_constraint.cpp",
2450
+ "file": "",
2451
+ "notes": [],
2452
+ "language": "Lua"
2453
+ },
2454
+ "format_version": 2
2455
+ }