Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

Unity WheelCollider.GetWorldPos expecting ), found 'pos' fix ?!

$
0
0
I want to get the tire meshes to the WheelCollider position. But there are a few errors. (Here I use a test script) #pragma strict var Wheel_1 : WheelCollider; public function Update () { Wheel1.GetWorldPose(out pos = Vector3,out quat = Quaternion); } Errors : - Assets/MyAssets/Scripts/getworldpose.js(6,33): BCE0044: expecting ), found 'pos'. - Assets/MyAssets/Scripts/getworldpose.js(6,46): BCE0043: Unexpected token: ,. - Assets/MyAssets/Scripts/getworldpose.js(6,47): UCE0001: ';' expected. Insert a semicolon at the end. - Assets/MyAssets/Scripts/getworldpose.js(6,50): UCE0001: ';' expected. Insert a semicolon at the end. - Assets/MyAssets/Scripts/getworldpose.js(6,68): BCE0043: Unexpected token: ). What am I doing wrong ? P.S.: Wheel1.GetWorldPose(out pos = Vector3,out quat = Quaternion) : void; also doesnt work. Thanks.

Viewing all articles
Browse latest Browse all 2891

Trending Articles



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