I tried to create a game with c# and i tried to add force to my object so i wrote rb;AddForce( 0, 0, 200 * Time.deltaTime) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I tried to create a game with c# and i tried to add force to my object so i wrote rb;AddForce( 0, 0, 200 * Time.deltaTime)

and it was error pls i need help

6th Dec 2021, 12:45 PM
wol_f gaming GR
wol_f gaming GR - avatar
3 Answers
+ 1
I guess you are working with Unity? To help you, we need to check your complete code. Which error exactly do you get? What are you trying to do?
6th Dec 2021, 12:57 PM
Lisa
Lisa - avatar
0
I was trying to make a Cube to go in a straight line first and then i will ad player movement
6th Dec 2021, 8:26 PM
wol_f gaming GR
wol_f gaming GR - avatar
0
Can you show your code and error both it will help us in resolving your problem
6th Dec 2021, 9:07 PM
YUGRAJ