K
K
kititnik2020-07-12 14:07:14
C++ / C#
kititnik, 2020-07-12 14:07:14

How to change the z coordinate of an object when another object reaches certain coordinates?

Hello! I am a beginner game developer. I ran into this problem:
I want that when the character reaches the Rotation.y coordinate of 180, another object (weapon) changes its position.z coordinate to 5 (well, or to any other value greater than 0)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question