IvanJosifov

Member

7

100 Neutral

• Rank
Newbie
1. Getting out of a 2 rectangle Collision

Read up on collision resolution - follow that link I posted for some info [/quote] I'm browsing through your blog but can't find it ? sorry... ?
2. Getting out of a 2 rectangle Collision

We are searching only for the logic how to get out. If the logic is clear we could handle the code... And playing the the collider radius is something like removing it ... it's not that good we already think about that ...
3. Getting out of a 2 rectangle Collision

What if the instruction moves the tank further into collision? [/quote] This could be checked against first. ColdWave, are instructions to move checked against other items in the level? ie, is there some sort of AI going on to direct the tanks around obstacles? [/quote] There is no AI, the tank is driven by LMB & RMB. The game is simple. We must have 50 tanks driven by players shooting each other. Hitting each other, Colliding each other.
4. Getting out of a 2 rectangle Collision

Ignoring it is the easiest but how to * Resolve the collision ? What do you mean by that. And the idea is that we need the collision to be always there, so when there is 20 players they can collide and hit each other etc... Cheers, Ivan
5. Getting out of a 2 rectangle Collision

@ this point if there is another tank hitting you in the back it will fail. @ wildbunny The major problem is that the server is custom and it is not containing any physical simulation and we are trying to make the simple thing. We are getting the collision detection perfect but we can't get out of it that's the problem
6. Getting out of a 2 rectangle Collision

Can you give me some links for online materials on that ? 10x
7. Getting out of a 2 rectangle Collision

OK on the image one we have 2 tanks colliding each other. On server side we are checking for rectangle collisions. The tank does not have back gear. So when you get into collision and click somewhere he must first turn around then go there. In this case the collision is getting deeper and the server is detecting that "there is collision and it's not permitted". Any ideas how to get out of this collision ?