Farmer example movement problem

Announcements, support questions, and discussion for Love/Hate.
Post Reply
Illustrator
Posts: 4
Joined: Mon Apr 20, 2020 3:58 am

Farmer example movement problem

Post by Illustrator »

It seems there's problem with movement in the Farmer example. Move to coordinates change very little and characters do not move at all.

I'm using Unity 2019.3.10f1

farmer-example-farm-ai-move-to-position-2.PNG
farmer-example-farm-ai-move-to-position-2.PNG (19.43 KiB) Viewed 1820 times
farmer-example-farm-ai-move-to-position.PNG
farmer-example-farm-ai-move-to-position.PNG (21.59 KiB) Viewed 1820 times
User avatar
Tony Li
Posts: 22085
Joined: Thu Jul 18, 2013 1:27 pm

Re: Farmer example movement problem

Post by Tony Li »

Hi,

You can increase the speeds. They're set to move very slowly so you can watch everything that's going on. The Move To Position coordinates are based on the area that the camera sees. If you've customized the scene, make sure it only has one main camera.

Also, make sure you've enabled 2D support with menu item Tools > Pixel Crushers > Common > Misc > Enable Physics2D Support.
Illustrator
Posts: 4
Joined: Mon Apr 20, 2020 3:58 am

Re: Farmer example movement problem

Post by Illustrator »

I enabled 2D and it's working now. :)

Thanks!
User avatar
Tony Li
Posts: 22085
Joined: Thu Jul 18, 2013 1:27 pm

Re: Farmer example movement problem

Post by Tony Li »

Happy to help! :-)
Post Reply