check physics engine type before calling set_physics_properties and get_physics_properteis