here is the actuly code but i cant get to work the gameplayer is do collision on him self and not on the other game player
i can draw bullets and animation on the game players
do it have something that the there are other stuff shareing thes 3 Vector3 vlaues , but thay are not modefied only by local gamepad
so bad luck for my dreambuildplay entry
no collision on game players
all tree Vector3 are shared over network, bullets alsol use GameplayerPos and the actuly move of players
GamePlayerMin
GmaeplayerMax
GameplayerPos
BoundingBox boxPlayer_1;
BoundingBox boxPlayer_2;
public void DrawNetworkPlayers(EvoFxCamera camera, EvoFxLight light, EvoFxTimer timer)
{
// For each person in the session...
foreach (NetworkGamer gamer in networkSession.AllGamers)
{
BoundingBox boxPlayer_1;
// Look up the tank object belonging to this network gamer.
Players tank = gamer.Tag as Players;
if (gamer.IsHost)
{
boxPlayer_1 =
new BoundingBox(tank.GamePlayerMin +tank.GamePlayerPos,boxPlayer_1.Max +tank.GamePlayerPos);
}
if (gamer.IsLocal)
{
boxPlayer_2 =
new BoundingBox(tank.GamePlayerMin +tank.GamePlayerPo s, boxPlayer_1.Max +tank.GamePlayerPos);
}
if (boxPlayer_1.Intersects(boxPlayer_2))
{
// we have a collision
UpdateCollisionPlayer(tank.GamePlayerPos);
}
else
{
if (boxPlayer_2.Intersects(boxPlayer_3))
{
UpdateCollisionPlayer(tank.GamePlayerPos);
}
}
}