A generalisation of Sylvester’s problem to higher dimensions