Home > Net >  C # Unity Update
C # Unity Update

Time:09-29

In Unity in the Update function how to put an object move from point A to point B in the move from point B to point C? Hope the great god answer

CodePudding user response:

Using Vector3. MoveTowards alone move from point A to point B is very simple.
Get a state variable, if has been to point B
Began to move to C

CodePudding user response:

reference 1st floor stherix response:
using Vector3. MoveTowards alone move from point A to point B is very simple.
Get a state variable, if has been to point B
Began to move to C

In detail thank you,,,

CodePudding user response:

Mobile is just the position change of process, you can only let the target position of the object changes

CodePudding user response:

Dotween. Move past the set point set up short time time is fast time is slow
  • Related