Unity Certified User: Programmer | 60 Questions with 100% Correct Answers | Updated & Verified
What is a Quaternion? - This is used to represent rotations. This representation does not suffer from gimbal lock and can easily be interpolated. What is the static property Qity? - This represents a something with no rotation - an object perfectly aligned with the world or parent axis. What is the difference between local space and world space? - The former defines a coordinate set that is relative to some parent object origin, whereas the latter defines a coordinate set that is relative to the world origin. What is the method Instantiate(Object original)? - This method clones the original object and returns the clone. The cloned object's position and rotation are that of the original object's local position and rotation. What is the method Instantiate(Object original, Transform parent)? - This method clones the original object and returns the clone as a child of the specified parent. The cloned object's position and rotation are that of the original object's local position and rotation. What is the method Instantiate(Object original, Transform parent, bool instantiateInWorldSpace)? - This method clones the original object and returns the clone as a child of the specified parent. The cloned object's rotation is that of the original object's rotation, and the cloned object's position can be set to either world space or relative to the parent. What is the method Instantiate(Object original, Vector3 position, Quaternion rotation)? - This method clones the original object and returns the clone. The cloned object's position and rotation are set relative to world space.
Información del documento
- Subido en
- 20 de febrero de 2023
- Número de páginas
- 7
- Escrito en
- 2022/2023
- Tipo
- Examen
- Contiene
- Preguntas y respuestas