Scene: drawObstacleSimulation

drawObstacleSimulation()
  • draws the debug visualization of obstacle simulation
Sample Code

################## draw the debug visualization of the obstacle simulation
 
# import bge
import bge

# get current scene
scene = bge.logic.getCurrentScene()

# draw debug visualization
scene.drawObstacleSimulation()