i was using the meshesintersect command in a demo
if the player was a certain distance from a coin the meshesintersect would be checked and then the coin would be deleted, even if i removed the distance check, speed seemed fine.
i could have about 1000 coins on screen and speed was good with distancechecks.
now when i try it with a meshesintersect on my basic level(meshesintersect(player_mesh,Level_mesh) the speed drops to about 10fps. the level has about 500 polys.
anyone explain why?
i know its a slow command.
if the player was a certain distance from a coin the meshesintersect would be checked and then the coin would be deleted, even if i removed the distance check, speed seemed fine.
i could have about 1000 coins on screen and speed was good with distancechecks.
now when i try it with a meshesintersect on my basic level(meshesintersect(player_mesh,Level_mesh) the speed drops to about 10fps. the level has about 500 polys.
anyone explain why?
i know its a slow command.