![Ok so here is my code I'm trying to access my function called Forward() inside the OnCollisionEnter function and I don't know how to call a function that is inside another function Ok so here is my code I'm trying to access my function called Forward() inside the OnCollisionEnter function and I don't know how to call a function that is inside another function](https://i.redd.it/q5s52sdwfqo91.png)
Ok so here is my code I'm trying to access my function called Forward() inside the OnCollisionEnter function and I don't know how to call a function that is inside another function
![Trying to use OnCollisionEnter to rotate my character whenever it hits something, but its not working :/ - Unity Answers Trying to use OnCollisionEnter to rotate my character whenever it hits something, but its not working :/ - Unity Answers](https://answers.unity.com/storage/temp/102845-screenshot-1.png)
Trying to use OnCollisionEnter to rotate my character whenever it hits something, but its not working :/ - Unity Answers
![Ok so here is my code I'm trying to access my function called Forward() inside the OnCollisionEnter function and I don't know how to call a function that is inside another function Ok so here is my code I'm trying to access my function called Forward() inside the OnCollisionEnter function and I don't know how to call a function that is inside another function](https://i.redd.it/kiauathwnrg91.jpg)