check physics engine type before calling set_physics_properties and get_...

...physics_properteis