You can't have added the clipping checks to the randomWalking method in NpcHandler
|
I've added NPC clipping , and it works perfectly without any error or bug , but when i spawn a npc in somewhere , and put it walks , it walks with bad way (no clipping) what should i add to fix that ?.
You can't have added the clipping checks to the randomWalking method in NpcHandler
Something like thatCode:} else if (npcs[i].walkingHome) { npcs[i].moveX = GetMove(npcs[i].getAbsX(), npcs[i].makeX); npcs[i].moveY = GetMove(npcs[i].getAbsY(), npcs[i].makeY); handleClipping(i); npcs[i].getNextNPCMovement(i); npcs[i].updateRequired = true; }
bump
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |