|
Hi, I got 2 gameObject in the scene, the first is a capsule and the second is an cylinder. i have apply some rotations to cylinder and i want the capsule translate along the 3 axes of the of the cylinder. how to do ? thanks.
(comments are locked)
|
|
You can access the axes of the cylinder with the built-in transform variables forward, up, right, etc. To translate along the +x axis of the cylinder, for instance, you could do the following:
Good luck.
(comments are locked)
|
(comments are locked)
|
