@Nina I made a silly mistake thats why it wasnt working
To summarize this, the problem was with adding a line of code that allowed braking and that got fixed by @yee code and the null reference was due to rb.drag being called before the actual RigidBody component of the given object.
Thank you soo much for helping out with the issue this really helped out a ton and challenged me to think about the logical aspect of coding aswell
1 Like
Iām glad Yee and I were able to help. Good job on making your idea work!
2 Likes
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.