When I execute the couroutine, my enemy transform goes halfway inside the cube transform so I had to add this new Vector to the code
is there a reason why this doesnt happen in the video but it does for me?
When moving :
Before moving :
When I execute the couroutine, my enemy transform goes halfway inside the cube transform so I had to add this new Vector to the code
is there a reason why this doesnt happen in the video but it does for me?
When moving :
Before moving :
Hi Zodi,
Gary moved the cubes down. Alternatively, you could move the child (with the mesh) of the enemy up. Or you could add an z-offset to the transform.position
like you did. All three solutions are valid.
See also:
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.