I've run the updater then updated my project via the Project manager without success. Here is my terrain set-up code and my pick code;
//App::Start()
Terrain* terrain = Terrain::Create(1024);
terrain->SetLayerTexture(0, Texture::Load("Textures/Terrain/grass_diffuse_1.tex"));
terrain->SetLayerScale(0, 3.0, 3.0);
//App::Loop()
if(window->MouseHit(1)==true)
{
PickInfo pickinfo;
Vec3 pos=window->GetMousePosition();
if(camera->Pick(pos.x,pos.y,pickinfo,0.2,true))
{
Entity* selected=pickinfo.entity;
}
}
Perhaps I'm not setting up the terrain correctly?