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

Can't access the velocity of a rigidbody: 'Rigidbody' does not contain a definition for 'velocity'

$
0
0
From what I understand you can access the speed value of a rigidbody by typing: rigidbody.velocity for some reason it gives me the error: 'Rigidbody' does not contain a definition for 'velocity' (attached). What am I doing wrong? I also attached the entire script in case there could be a definition problem. ![alt text][1] [1]: /storage/temp/98796-errorscript.png

Viewing all articles
Browse latest Browse all 2891

Trending Articles



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