Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Position in path relative to Z world axis
#1
Hello!

I'm trying to achieve a gameObject that follows the path on the X and Y axis, but is linked to the world Z axis position of another object.

The main player have forces moving him on Z, and it is not following any path. He doesn't rotate, just moves on X and Y by position. I need enemies to stay in the path, and take their Z position from the player, so they are in front of the player, or at the same position.

Is this possible? When I try to link them it doesn't work because the path is not straight, and its length is greater than the world z position.

Thanks for the help!
Reply


Messages In This Thread
Position in path relative to Z world axis - by socoman3 - 02-04-2015, 05:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Incorrect mesh alignment after extrusion on curved path Thinkurvy 10 21 04-17-2024, 10:57 AM
Last Post: _Aka_
  Getting Distance from a World Point zorksox 3 5 04-16-2024, 07:30 PM
Last Post: _Aka_
  Rasterized Path Range issue proton 2 12 04-15-2024, 03:42 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_

Forum Jump: