Jump to content

Why dpes GoToPoint() not work on moving entities ?


Slastraf
 Share

Recommended Posts

When I use this function all happens is that the player glitches out.

I see that it has been avoided with the DirectMoveToTarget function inside the MosterAi script,

which has no pathfinding but just walking straight towards the target.

It would still be better to have a path while following a target that may be behind an obstacle, when the function is called.

GoToPoint works fine on (for example) pivots in the scene, even when its position is set somewhere else really fast (and the funcion is called once after every position change).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...