Quantcast
Channel: Answers by "lodendsg"
Viewing all articles
Browse latest Browse all 102

Answer by lodendsg

$
0
0
Change the last line there to


theRB.AddForceAtPosition(nutSpeed);

Add Force at Position is a member of Rigidbody not GameObject https://docs.unity3d.com/ScriptReference/Rigidbody.AddForceAtPosition.html

Viewing all articles
Browse latest Browse all 102

Trending Articles



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