Quantcast
Channel: Questions in topic: "vehicles"
Viewing all articles
Browse latest Browse all 123

CharacterMotor Trubble

$
0
0
Hello, I have made a multiplayer game using the normal character scripts that comes with unity that I have just tweeked a bit. This is the error im getting NullReferenceException: Object reference not set to an instance of an object FPSInputControllerMultiplayer.Move () (at Assets/Standard Assets/Character Controllers/Sources/Scripts/FPSInputControllerMultiplayer.js:42) And it says that the problem is this line of code motor.inputMoveDirection = transform.rotation * directionVector; The scripts works. Its just that I have a (really bad made) enter/exit vehicle script, and every time i enter a vehicle the other clients crash until i leave the vehicle. Any suggestions??

Viewing all articles
Browse latest Browse all 123

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>