How to create an object from a pose