I
I
IliaNeverov2020-08-17 11:39:26
Unity
IliaNeverov, 2020-08-17 11:39:26

How to make the mesh move forward, and when it reaches a certain point, it returns to its original position?

How to make a 3D object move forward, and upon reaching a certain point, return to its original position in the unit? Or rather, how to implement it using C Sharp?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Vodakov, 2020-08-17
@WaterSmith

I don't know what "mesh" is. But in order for anything to move, it is necessary to change its coordinates, for example, by setting the speed. And check these coordinates, and when a certain value is reached, reset them to the original ones.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question