Set the geom that the geometry transform g encapsulates. The object obj must not be inserted into any space, and must not be associated with any body. If g has its clean-up mode turned on, and it already encapsulates an object, the old object will be destroyed before it is replaced with the new one.