I'm converting the collision detection example to c#, however, when I try to add the OctTree node I get the following error:
Here's the code I'm using:No overload for method 'AddOctTreeSceneNode' takes '1' arguments
Code: Select all
// add a zip archive
device.FileSystem.AddZipFileArchive("../../media/map-20kdm2.pk3");
// load the level mesh
IAnimatedMesh q3levelmesh = device.SceneManager.GetMesh("20kdm2.bsp");
ISceneNode q3node = device.SceneManager.AddOctTreeSceneNode(q3levelmesh.GetMesh(0));