adding functions for conversion from protobuf message to objects used by the physics and collision detection engines