add matrices for local and world transforms for shapes and bodies