MCQs > IT & Programming > Unity3D > What does the following code do?

Unity3D MCQs

What does the following code do?

float speed=10; void Update(){ transform.Translate(Vector3.forward*speed); }

Answer

Correct Answer: Moves the object this script is attached to by 10 units per frame in the world positive Z axis direction

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Unity3D Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Unity3D Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it