I have got to the point where I am trying to destroy my enemies
I have can successfully get cout<<"Collision!"<<endl; when they collide but when try the next step;
Code: Select all
if(ScalarDistance < bound)
{
cout<<"Collision!"<<endl;
ememy[i].anms->drop();
}I tried;
Code: Select all
if(ScalarDistance < bound)
{
cout<<"Collision!"<<endl;
enemy[i].anms-grab();
ememy[i].anms->drop();
}anyone know how to do what I am trying to achieve.
NOTE:
I create the sydney model the same way the tutorials do and but use enemy.anms = blah blah.