1 decade ago by dungeonmaster
I have an entityFish.
I have a number of players and each of them spawn multiple instances of fishes.
With the additional property
What I want is, to only collide the entityFish if the owner is some other one.
In other words, the fish with the same owner shouldn't collide with each other but collide with every other fish in the scene.
I thought I need to overwrite
Any ideas how to make this thing work?
I have a number of players and each of them spawn multiple instances of fishes.
With the additional property
.owner
, game knows whose fish is that.What I want is, to only collide the entityFish if the owner is some other one.
In other words, the fish with the same owner shouldn't collide with each other but collide with every other fish in the scene.
I thought I need to overwrite
ig.Entity.checkPair
but it's declared different then other methods in ig.Entity (static???).Any ideas how to make this thing work?