Start a new topic
Answered

Unity’s NavMeshAgent and PlayMaker

why does my swan move in scene but not in game? its not moving in styly either thanks!!

this was my tutorial https://styly.cc/tips/movecamera/


mp4

Best Answer

For some reason I can't open the unity-package, maybe I have a different version of unity, STYLY recommends Unity2019, what is your version of unity?


Could you show me a picture of the capsule's PlayMaker editor?

It might help me understand the cause.


I have another idea.

The first article you put up is about moving the camera.

You are trying to move the object, not the camera. The way you move the camera is a little different from the way you move the object. It is easier to move objects.


You can learn how to move the object in this article.

https://styly.cc/tips/playmaker-rotation/

This article deals with "Rotate", but "Rotate" can easily be replaced by "Move".


In this article, you can learn how to use AI to move objects automatically.

https://styly.cc/tips/unity-navmesh-ai/



Hi, I checked images and video you uploaded.


You don't seem to have set up cosmicswan to move.

If the settings for moving the cosmicswan are correct, the Position value in the yellow box should change while the Unity scene is running.

image


Scene View is the screen where you can edit the current scene, and Game View is the actual game screen. Therefore, you may move different objects, including the camera.

the swan now has its own fsm and the value of  Position value in the yellow box does change


but it still only moves in scene?

mp4

turns out i am wrong. it moves in scene and game, but when i upload to styly it does not move?  https://gallery.styly.cc/scene/de38f096-96a1-4292-ac09-f69b8b484caf


thanks!

Do you have swan set to move towards the Target?

If so, you need to make Target a child object of swan and upload it.


Otherwise, there will be no Target to orient on STYLY, and it will not work.

THANK YOU!

nothing was working so i made a new project and tried to use a simple capsule, not a swan. the capsule moves in unity but not in styly- 


i have attached my scene with the prefab (stage 1) and both stage - they are the same thing.


I would be so grateful if you looked at the prefab stage 1 and tell me why it does not work in stylyhttps://gallery.styly.cc/scene/de38f096-96a1-4292-ac09-f69b8b484caf


thanks!


Answer

For some reason I can't open the unity-package, maybe I have a different version of unity, STYLY recommends Unity2019, what is your version of unity?


Could you show me a picture of the capsule's PlayMaker editor?

It might help me understand the cause.


I have another idea.

The first article you put up is about moving the camera.

You are trying to move the object, not the camera. The way you move the camera is a little different from the way you move the object. It is easier to move objects.


You can learn how to move the object in this article.

https://styly.cc/tips/playmaker-rotation/

This article deals with "Rotate", but "Rotate" can easily be replaced by "Move".


In this article, you can learn how to use AI to move objects automatically.

https://styly.cc/tips/unity-navmesh-ai/


Hi! I am really sorry about posting the wrong article- it was a mistake- I did use the nav mesh tutorial but accidentally posted the camera tutorial - i have included the photos you asked for- please tell me if it's ok-


thanks a lot! Also thanks for the rotate article!

hi I am sorry just wondering if you saw the last 2 screenshots i sent in the comment above? i followed the tutorial exactly and am wondering why it works in unity but not styly- i have the right version of unity


thanks a lot!

Login or Signup to post a comment