Why I cannot call this physX function?

Have you added the necessary modules to your code? For example: PhysXVehicles module.