Question: #Unity C# Write a script that makes a player keep moving around automatically randomly in South, North, East and West direction without using mouse control

#Unity C#

Write a script that makes a player keep moving around automatically randomly in South, North, East and West direction without using mouse control or keyboard control. It will keep moving in random selected direction until it detects an obstacle. When change a moving direction, the truck needs first turning its header from the current direction to that future direction. For example, the player turns its header -90 degree to change the move direction from North to West once it find there is an obstacle.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!