App: has_physics

has_physics
  • Returns if the BGE was built with physics support

Return Type:
  • Boolean
Values:
  • True: BGE has physics support
     
  • False: BGE doesn't have physics support
Sample Code

################## find out if BGE built with physics support
 
# import bge

import bge

# physics support
phys_support = bge.app.has_physics