[SOLVED] ODE setSurfaceType error

Hi everybody,
I get this error when I try to use ODE setSurfaceType()

self.world.odespace.setSurfaceType( 1 , hillGeom)
TypeError: an integer is required

what’s wrong :confused: :confused: :confused: ? thank you

solved, the documentation has the parameters reversed

odeSpace.setSurfaceType(surfaceId, geometry)

this works

self.world.odespace.setSurfaceType( hillGeom, 1)

Thanks for noticing. I’ve corrected the manual page.