Advanced API
Low-Level Bodies
Create bodies through the explicit _create_dynamic, _create_static or _create_kinematic functions. Native primitive transport is internal and is not an alternative public creation API.
var body = jolt_box_create_dynamic(0, 0, 3, 1, 1, 1);
if (!is_undefined(body)) {
var world = body.get_world_handle();
var body_handle = body.get_native_handle();
// Use these handles only when an advanced query requires them.
body.destroy();
}