Collisions

Blitz3D Forums/Blitz3D Programming/Collisions

Paulo(Posted 2005) [#1]
Hi all,

Why I am getting weird things happen when I test collision of the same type? Eg

collisions typebadguy,typebadguy,2,1 ;doesnt work fine

Or is this not allowed? Im spawning 'one' new type (in this case a cube) every random 1 to 3 seconds and without testing collision on the same type it works as I would expect, but with the line above added, I get 3 or 4 types spawning together and their coordinates have changed like they pushed each other out the way (or collided) - What I am I doing wrong?

Any help is most appreciated.

Cheers,
Paulo


Damien Sturdy(Posted 2005) [#2]
*looks on MSN* heyy.... o.O

Get back in touch with me somehow, I'l see what i can do.

you probrably need to resetentity after you initially position them :)


Paulo(Posted 2005) [#3]
duder - can't cope with MSN right now :|

I'll try the reset thing - thanks! :O)


Damien Sturdy(Posted 2005) [#4]
No problem, get well soon, and let me know if the fix works :D


Paulo(Posted 2005) [#5]
It worked!! Thanks mate.


Damien Sturdy(Posted 2005) [#6]
No problemo! ^.^