"physics and Multiplayer"/"collision sounds"/"neg. bouncines
Posted: Fri Mar 09, 2012 6:27 pm
well 3 problems:
1)i have a multiplayer game, and synchronous collision detection is essential for it. does anyone know a good protocol model for synchronizing 2 or more games? i already have something but i have issues cause when i collide on game one and update before the collision and after, the collision is maybe not recognized by game 2. so im bouncing of my enemy and he does not get any force. baaaad
2)i want sounds when 2 players collide (they are just spheres) , when they collide with the ground, when they move on the ground( when they are faster its louder) (sound when in mid air is not good)
but i dont know where to get the events when 2 things collide =/
3)when my players collide it looks pretty lame. both should collide with more force (bounciness should be like 1 to 1.3) but when they collide they are catapulted in the air. so i dont want any friction between the players. but they should still have normal friction with all other objects in the game. and they should have a bounciness like 0.2 to 0.4 when colliding with the ground. so is there something like a negative bounciness for the ground? cause if the ground has 0 the players still bounce with their 1 of bounciness. or is there some way for this?
much work to do and a dumbass like me who wants to do it
1)i have a multiplayer game, and synchronous collision detection is essential for it. does anyone know a good protocol model for synchronizing 2 or more games? i already have something but i have issues cause when i collide on game one and update before the collision and after, the collision is maybe not recognized by game 2. so im bouncing of my enemy and he does not get any force. baaaad
2)i want sounds when 2 players collide (they are just spheres) , when they collide with the ground, when they move on the ground( when they are faster its louder) (sound when in mid air is not good)
but i dont know where to get the events when 2 things collide =/
3)when my players collide it looks pretty lame. both should collide with more force (bounciness should be like 1 to 1.3) but when they collide they are catapulted in the air. so i dont want any friction between the players. but they should still have normal friction with all other objects in the game. and they should have a bounciness like 0.2 to 0.4 when colliding with the ground. so is there something like a negative bounciness for the ground? cause if the ground has 0 the players still bounce with their 1 of bounciness. or is there some way for this?
much work to do and a dumbass like me who wants to do it
