IV. Name five ways on how to make objects move
16.
17.
18.
19.
20.​


Sagot :

Answer:

A example of moving a object to a point would be “transform.position = Vector3.MoveTowards(transform.position, point, Time.Deltatime * speed);”. People also often use libraries to move objects, an example of a good tweening library would be DOTween.

Explanation:

The quickest way to move a object to a specific position is to set the transform.position field. This will change the position of the game object that the component is attached to. Another way of moving the object, opposed to setting it’s position is to call transform.Translate(direction).