Child object in different position than parent
Options
Hi everyone, I'm making a racing game multiplayer where you can shoot other players and I have a weird issue , when the car moves, the weapon (that is a child of the car) moves a little forward than the car itself and when the car stops the weapon returns to its right place. This happens only for the other players' views and not on mine. It's like the car is slower and the weapon is faster.
I hope someone can help me because I really can't find a solution.
I hope someone can help me because I really can't find a solution.
0
Best Answer
-
Nevermind I resolved it.0
Answers
-
Are you attaching a photontranformview to the weapons too?0
-
@sid_juego No, the weapon has a photonview attached.0
-
@sid_juego I added the PhotonTransformView and PhotonView observes it, now the weapon is in the right place but it doesn't rotate, it follows the car's rotation and not the joystick rotation. Note that the weapon shoots in the right direction but it stays in the wrong rotation.0
-
Nevermind I resolved it.0