         if ob.type=='ARMATURE'
             @armatures.push ob
 
-
     remove_object: (ob, recursive=true)->
         @children.remove ob
         if not ob.static

{mat2, mat3, mat4, vec2, vec3, vec4, quat} = require 'gl-matrix'
{PhysicsWorld, set_gravity} = require './physics.coffee'
{load_scene} = require './loader.coffee'
{fetch_objects} = require './fetch_assets.coffee'


                child = l-i-1
                @remove_object children[i]
        return
    
    make_parent: (parent, child, keep_transform=true)->
        if child.parent
            @clear_parent child, keep_transform
