|
5 | 5 | "description": "Apply an angular impulse.",
|
6 | 6 | "error": "",
|
7 | 7 | "examples": "",
|
| 8 | + "language": "", |
8 | 9 | "members": [],
|
9 | 10 | "name": "b2d.body.apply_angular_impulse",
|
10 | 11 | "notes": [],
|
|
34 | 35 | "description": "Apply a force at a world point. If the force is not\napplied at the center of mass, it will generate a torque and\naffect the angular velocity. This wakes up the body.",
|
35 | 36 | "error": "",
|
36 | 37 | "examples": "",
|
| 38 | + "language": "", |
37 | 39 | "members": [],
|
38 | 40 | "name": "b2d.body.apply_force",
|
39 | 41 | "notes": [],
|
|
70 | 72 | "description": "Apply a force to the center of mass. This wakes up the body.",
|
71 | 73 | "error": "",
|
72 | 74 | "examples": "",
|
| 75 | + "language": "", |
73 | 76 | "members": [],
|
74 | 77 | "name": "b2d.body.apply_force_to_center",
|
75 | 78 | "notes": [],
|
|
99 | 102 | "description": "Apply an impulse at a point. This immediately modifies the velocity.\nIt also modifies the angular velocity if the point of application\nis not at the center of mass. This wakes up the body.",
|
100 | 103 | "error": "",
|
101 | 104 | "examples": "",
|
| 105 | + "language": "", |
102 | 106 | "members": [],
|
103 | 107 | "name": "b2d.body.apply_linear_impulse",
|
104 | 108 | "notes": [],
|
|
135 | 139 | "description": "Apply a torque. This affects the angular velocity\nwithout affecting the linear velocity of the center of mass.\nThis wakes up the body.",
|
136 | 140 | "error": "",
|
137 | 141 | "examples": "",
|
| 142 | + "language": "", |
138 | 143 | "members": [],
|
139 | 144 | "name": "b2d.body.apply_torque",
|
140 | 145 | "notes": [],
|
|
164 | 169 | "description": "Dynamic body",
|
165 | 170 | "error": "",
|
166 | 171 | "examples": "",
|
| 172 | + "language": "", |
167 | 173 | "members": [],
|
168 | 174 | "name": "b2d.body.B2_DYNAMIC_BODY",
|
169 | 175 | "notes": [],
|
|
178 | 184 | "description": "Kinematic body",
|
179 | 185 | "error": "",
|
180 | 186 | "examples": "",
|
| 187 | + "language": "", |
181 | 188 | "members": [],
|
182 | 189 | "name": "b2d.body.B2_KINEMATIC_BODY",
|
183 | 190 | "notes": [],
|
|
192 | 199 | "description": "Static (immovable) body",
|
193 | 200 | "error": "",
|
194 | 201 | "examples": "",
|
| 202 | + "language": "", |
195 | 203 | "members": [],
|
196 | 204 | "name": "b2d.body.B2_STATIC_BODY",
|
197 | 205 | "notes": [],
|
|
206 | 214 | "description": "Print the body representation to the log output",
|
207 | 215 | "error": "",
|
208 | 216 | "examples": "",
|
| 217 | + "language": "", |
209 | 218 | "members": [],
|
210 | 219 | "name": "b2d.body.dump",
|
211 | 220 | "notes": [],
|
|
228 | 237 | "description": "Get the angular damping of the body.",
|
229 | 238 | "error": "",
|
230 | 239 | "examples": "",
|
| 240 | + "language": "", |
231 | 241 | "members": [],
|
232 | 242 | "name": "b2d.body.get_angular_damping",
|
233 | 243 | "notes": [],
|
|
258 | 268 | "description": "Get the angular velocity.",
|
259 | 269 | "error": "",
|
260 | 270 | "examples": "",
|
| 271 | + "language": "", |
261 | 272 | "members": [],
|
262 | 273 | "name": "b2d.body.get_angular_velocity",
|
263 | 274 | "notes": [],
|
|
288 | 299 | "description": "Get the gravity scale of the body.",
|
289 | 300 | "error": "",
|
290 | 301 | "examples": "",
|
| 302 | + "language": "", |
291 | 303 | "members": [],
|
292 | 304 | "name": "b2d.body.get_gravity_scale",
|
293 | 305 | "notes": [],
|
|
318 | 330 | "description": "Get the rotational inertia of the body about the local origin.",
|
319 | 331 | "error": "",
|
320 | 332 | "examples": "",
|
| 333 | + "language": "", |
321 | 334 | "members": [],
|
322 | 335 | "name": "b2d.body.get_inertia",
|
323 | 336 | "notes": [],
|
|
348 | 361 | "description": "Get the linear damping of the body.",
|
349 | 362 | "error": "",
|
350 | 363 | "examples": "",
|
| 364 | + "language": "", |
351 | 365 | "members": [],
|
352 | 366 | "name": "b2d.body.get_linear_damping",
|
353 | 367 | "notes": [],
|
|
378 | 392 | "description": "Get the linear velocity of the center of mass.",
|
379 | 393 | "error": "",
|
380 | 394 | "examples": "",
|
| 395 | + "language": "", |
381 | 396 | "members": [],
|
382 | 397 | "name": "b2d.body.get_linear_velocity",
|
383 | 398 | "notes": [],
|
|
408 | 423 | "description": "Get the world velocity of a local point.",
|
409 | 424 | "error": "",
|
410 | 425 | "examples": "",
|
| 426 | + "language": "", |
411 | 427 | "members": [],
|
412 | 428 | "name": "b2d.body.get_linear_velocity_from_local_point",
|
413 | 429 | "notes": [],
|
|
445 | 461 | "description": "Get the world linear velocity of a world point attached to this body.",
|
446 | 462 | "error": "",
|
447 | 463 | "examples": "",
|
| 464 | + "language": "", |
448 | 465 | "members": [],
|
449 | 466 | "name": "b2d.body.get_linear_velocity_from_world_point",
|
450 | 467 | "notes": [],
|
|
482 | 499 | "description": "Get the local position of the center of mass.",
|
483 | 500 | "error": "",
|
484 | 501 | "examples": "",
|
| 502 | + "language": "", |
485 | 503 | "members": [],
|
486 | 504 | "name": "b2d.body.get_local_center",
|
487 | 505 | "notes": [],
|
|
512 | 530 | "description": "Gets a local point relative to the body's origin given a world point.",
|
513 | 531 | "error": "",
|
514 | 532 | "examples": "",
|
| 533 | + "language": "", |
515 | 534 | "members": [],
|
516 | 535 | "name": "b2d.body.get_local_point",
|
517 | 536 | "notes": [],
|
|
549 | 568 | "description": "Gets a local vector given a world vector.",
|
550 | 569 | "error": "",
|
551 | 570 | "examples": "",
|
| 571 | + "language": "", |
552 | 572 | "members": [],
|
553 | 573 | "name": "b2d.body.get_local_vector",
|
554 | 574 | "notes": [],
|
|
586 | 606 | "description": "Get the total mass of the body.",
|
587 | 607 | "error": "",
|
588 | 608 | "examples": "",
|
| 609 | + "language": "", |
589 | 610 | "members": [],
|
590 | 611 | "name": "b2d.body.get_mass",
|
591 | 612 | "notes": [],
|
|
616 | 637 | "description": "Get the next body in the world's body list.",
|
617 | 638 | "error": "",
|
618 | 639 | "examples": "",
|
| 640 | + "language": "", |
619 | 641 | "members": [],
|
620 | 642 | "name": "b2d.body.get_next",
|
621 | 643 | "notes": [],
|
|
646 | 668 | "description": "Get the world body origin position.",
|
647 | 669 | "error": "",
|
648 | 670 | "examples": "",
|
| 671 | + "language": "", |
649 | 672 | "members": [],
|
650 | 673 | "name": "b2d.body.get_position",
|
651 | 674 | "notes": [],
|
|
676 | 699 | "description": "Get the type of this body.",
|
677 | 700 | "error": "",
|
678 | 701 | "examples": "",
|
| 702 | + "language": "", |
679 | 703 | "members": [],
|
680 | 704 | "name": "b2d.body.get_type",
|
681 | 705 | "notes": [],
|
|
706 | 730 | "description": "Get the parent world of this body.",
|
707 | 731 | "error": "",
|
708 | 732 | "examples": "",
|
| 733 | + "language": "", |
709 | 734 | "members": [],
|
710 | 735 | "name": "b2d.body.get_world",
|
711 | 736 | "notes": [],
|
|
736 | 761 | "description": "Get the angle in radians.",
|
737 | 762 | "error": "",
|
738 | 763 | "examples": "",
|
| 764 | + "language": "", |
739 | 765 | "members": [],
|
740 | 766 | "name": "b2d.body.get_world_center",
|
741 | 767 | "notes": [],
|
|
766 | 792 | "description": "Get the world position of the center of mass.",
|
767 | 793 | "error": "",
|
768 | 794 | "examples": "",
|
| 795 | + "language": "", |
769 | 796 | "members": [],
|
770 | 797 | "name": "b2d.body.get_world_center",
|
771 | 798 | "notes": [],
|
|
796 | 823 | "description": "Get the world coordinates of a point given the local coordinates.",
|
797 | 824 | "error": "",
|
798 | 825 | "examples": "",
|
| 826 | + "language": "", |
799 | 827 | "members": [],
|
800 | 828 | "name": "b2d.body.get_world_point",
|
801 | 829 | "notes": [],
|
|
833 | 861 | "description": "Get the world coordinates of a vector given the local coordinates.",
|
834 | 862 | "error": "",
|
835 | 863 | "examples": "",
|
| 864 | + "language": "", |
836 | 865 | "members": [],
|
837 | 866 | "name": "b2d.body.get_world_vector",
|
838 | 867 | "notes": [],
|
|
870 | 899 | "description": "Get the active state of the body.",
|
871 | 900 | "error": "",
|
872 | 901 | "examples": "",
|
| 902 | + "language": "", |
873 | 903 | "members": [],
|
874 | 904 | "name": "b2d.body.is_active",
|
875 | 905 | "notes": [],
|
|
900 | 930 | "description": "Get the sleeping state of this body.",
|
901 | 931 | "error": "",
|
902 | 932 | "examples": "",
|
| 933 | + "language": "", |
903 | 934 | "members": [],
|
904 | 935 | "name": "b2d.body.is_awake",
|
905 | 936 | "notes": [],
|
|
930 | 961 | "description": "Is this body in bullet mode",
|
931 | 962 | "error": "",
|
932 | 963 | "examples": "",
|
| 964 | + "language": "", |
933 | 965 | "members": [],
|
934 | 966 | "name": "b2d.body.is_bullet",
|
935 | 967 | "notes": [],
|
|
960 | 992 | "description": "Does this body have fixed rotation?",
|
961 | 993 | "error": "",
|
962 | 994 | "examples": "",
|
| 995 | + "language": "", |
963 | 996 | "members": [],
|
964 | 997 | "name": "b2d.body.is_fixed_rotation",
|
965 | 998 | "notes": [],
|
|
990 | 1023 | "description": "Is this body allowed to sleep",
|
991 | 1024 | "error": "",
|
992 | 1025 | "examples": "",
|
| 1026 | + "language": "", |
993 | 1027 | "members": [],
|
994 | 1028 | "name": "b2d.body.is_sleeping_allowed",
|
995 | 1029 | "notes": [],
|
|
1020 | 1054 | "description": "This resets the mass properties to the sum of the mass properties of the fixtures.\nThis normally does not need to be called unless you called SetMassData to override",
|
1021 | 1055 | "error": "",
|
1022 | 1056 | "examples": "",
|
| 1057 | + "language": "", |
1023 | 1058 | "members": [],
|
1024 | 1059 | "name": "b2d.body.reset_mass_data",
|
1025 | 1060 | "notes": [],
|
|
1042 | 1077 | "description": "Set the active state of the body. An inactive body is not\nsimulated and cannot be collided with or woken up.\nIf you pass a flag of true, all fixtures will be added to the\nbroad-phase.\nIf you pass a flag of false, all fixtures will be removed from\nthe broad-phase and all contacts will be destroyed.\nFixtures and joints are otherwise unaffected. You may continue\nto create/destroy fixtures and joints on inactive bodies.\nFixtures on an inactive body are implicitly inactive and will\nnot participate in collisions, ray-casts, or queries.\nJoints connected to an inactive body are implicitly inactive.\nAn inactive body is still owned by a b2World object and remains\nin the body list.",
|
1043 | 1078 | "error": "",
|
1044 | 1079 | "examples": "",
|
| 1080 | + "language": "", |
1045 | 1081 | "members": [],
|
1046 | 1082 | "name": "b2d.body.set_active",
|
1047 | 1083 | "notes": [],
|
|
1071 | 1107 | "description": "Set the angular damping of the body.",
|
1072 | 1108 | "error": "",
|
1073 | 1109 | "examples": "",
|
| 1110 | + "language": "", |
1074 | 1111 | "members": [],
|
1075 | 1112 | "name": "b2d.body.set_angular_damping",
|
1076 | 1113 | "notes": [],
|
|
1100 | 1137 | "description": "Set the angular velocity.",
|
1101 | 1138 | "error": "",
|
1102 | 1139 | "examples": "",
|
| 1140 | + "language": "", |
1103 | 1141 | "members": [],
|
1104 | 1142 | "name": "b2d.body.set_angular_velocity",
|
1105 | 1143 | "notes": [],
|
|
1129 | 1167 | "description": "Set the sleep state of the body. A sleeping body has very low CPU cost.",
|
1130 | 1168 | "error": "",
|
1131 | 1169 | "examples": "",
|
| 1170 | + "language": "", |
1132 | 1171 | "members": [],
|
1133 | 1172 | "name": "b2d.body.set_awake",
|
1134 | 1173 | "notes": [],
|
|
1158 | 1197 | "description": "Should this body be treated like a bullet for continuous collision detection?",
|
1159 | 1198 | "error": "",
|
1160 | 1199 | "examples": "",
|
| 1200 | + "language": "", |
1161 | 1201 | "members": [],
|
1162 | 1202 | "name": "b2d.body.set_bullet",
|
1163 | 1203 | "notes": [],
|
|
1187 | 1227 | "description": "Set this body to have fixed rotation. This causes the mass to be reset.",
|
1188 | 1228 | "error": "",
|
1189 | 1229 | "examples": "",
|
| 1230 | + "language": "", |
1190 | 1231 | "members": [],
|
1191 | 1232 | "name": "b2d.body.set_fixed_rotation",
|
1192 | 1233 | "notes": [],
|
|
1216 | 1257 | "description": "Set the gravity scale of the body.",
|
1217 | 1258 | "error": "",
|
1218 | 1259 | "examples": "",
|
| 1260 | + "language": "", |
1219 | 1261 | "members": [],
|
1220 | 1262 | "name": "b2d.body.set_gravity_scale",
|
1221 | 1263 | "notes": [],
|
|
1245 | 1287 | "description": "Set the linear damping of the body.",
|
1246 | 1288 | "error": "",
|
1247 | 1289 | "examples": "",
|
| 1290 | + "language": "", |
1248 | 1291 | "members": [],
|
1249 | 1292 | "name": "b2d.body.set_linear_damping",
|
1250 | 1293 | "notes": [],
|
|
1274 | 1317 | "description": "Set the linear velocity of the center of mass.",
|
1275 | 1318 | "error": "",
|
1276 | 1319 | "examples": "",
|
| 1320 | + "language": "", |
1277 | 1321 | "members": [],
|
1278 | 1322 | "name": "b2d.body.set_linear_velocity",
|
1279 | 1323 | "notes": [],
|
|
1303 | 1347 | "description": "You can disable sleeping on this body. If you disable sleeping, the body will be woken.",
|
1304 | 1348 | "error": "",
|
1305 | 1349 | "examples": "",
|
| 1350 | + "language": "", |
1306 | 1351 | "members": [],
|
1307 | 1352 | "name": "b2d.body.set_sleeping_allowed",
|
1308 | 1353 | "notes": [],
|
|
1332 | 1377 | "description": "Set the position of the body's origin and rotation.\nThis breaks any contacts and wakes the other bodies.\nManipulating a body's transform may cause non-physical behavior.",
|
1333 | 1378 | "error": "",
|
1334 | 1379 | "examples": "",
|
| 1380 | + "language": "", |
1335 | 1381 | "members": [],
|
1336 | 1382 | "name": "b2d.body.set_transform",
|
1337 | 1383 | "notes": [],
|
|
1368 | 1414 | "description": "Set the type of this body. This may alter the mass and velocity.",
|
1369 | 1415 | "error": "",
|
1370 | 1416 | "examples": "",
|
| 1417 | + "language": "", |
1371 | 1418 | "members": [],
|
1372 | 1419 | "name": "b2d.body.set_type",
|
1373 | 1420 | "notes": [],
|
|
1398 | 1445 | "description": "Functions for interacting with Box2D bodies.",
|
1399 | 1446 | "file": "",
|
1400 | 1447 | "group": "SYSTEM",
|
| 1448 | + "language": "", |
1401 | 1449 | "name": "b2d.body",
|
1402 | 1450 | "namespace": "b2d.body",
|
1403 | 1451 | "notes": [],
|
|
0 commit comments