Collision problems again

Blitz3D Forums/Blitz3D Beginners Area/Collision problems again

grindalf(Posted 2016) [#1]
I just added npcs into my game and the second they come on screen the fps falls to a crawl.

I have enemies in the game which already uses the same commands and has no problems.

I'm using
entitytype npc\pivot,2
collisions 2,1,2,3

and then in the enemy ai program I'm using
TranslateEntity npc\pivot,0,-.1,0
for simple gravity.

removing any of those lines keeps the game running at normal speed

Its not much to go on but hopefully someone might have an idea of what I'm doing wrong


RemiD(Posted 2016) [#2]
Probably erroned code or weird/open collidables...

Please post a simple code (that we can run) to demonstrate the problem.