S
S
Sergei Abramov2020-04-13 21:11:13
Unity
Sergei Abramov, 2020-04-13 21:11:13

How to pin objects on a moving object?

There is an object in the Plane scene that moves:

transform.Translate(Vector3.right * 2 * Time.deltaTime);

I want to spawn 3D objects on it, static, without physics. Colliders only. How to properly fix them on this plane so that it moves with them?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DanielMcRon, 2020-04-13
@PatriotSY

https://docs.unity3d.com/ScriptReference/Transform...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question