Quantcast
Channel: Answers by "Ericool"
Viewing all articles
Browse latest Browse all 62

Answer by Ericool

0
0
for movement I suggest you to create a coroutine , in this coroutine that updates each seconds for instance , you increment a float like float ForceMagnitude , then in the update method , enter this value in the AddForce method , then reset to 0 this variable . To avoid error you can explicitly add this before your class : [RequireComponent (typeof (Rigidbody))]

Viewing all articles
Browse latest Browse all 62

Latest Images

Trending Articles





Latest Images