Skip to content
Dom700v – streamer on Joystick.tv

Dom700v – streamer on Joystick.tv

Programming Blog for Cat Simulator

Menu
  • About dom700v
  • Privacy Policy
  • Project Plan
Menu

Navigation and more features!

Posted on October 1, 2023October 1, 2023 by dom700v

Today’s stream was more chill than usual. I spent long amounts of time with no visitors. It really allowed me to focus. My goals for the stream were as follows:

  1. Get path finding / navigation working.
  2. Implement some kind of rudimentary cat AI. I wanted the cat to go through 3 activities randomly.
    • Go to the cat bed and lie down
    • Go to the litter box and no further detailed needed
    • Go to some place in the room randomly
  3. Add cat in the place texture for the litter box

I got most of this done. I spent a lot of time reading the docs for godot 4 because I found that phind was not very helpful with this topic. I think I may cancel my subscription to phind – it hallucinates too much. For the navigation, I dumped using tile-based navigation and instead just added a simple NavigationRegion2D. To be honest, I had so much trouble with the tile editor to begin with, that I’m thinking about dumping the tile set as well and just having an image of the house that I draw. After I defined a simple NavigationRegion2D, the game was suddenly able to navigate much more easily. I think I was having issues with the navigation areas not being connected. Then I read up on NavigationObstacle2D and used that to make the cat avoid things like the dresser. This prevented the cat from getting stuck on the edge of the navigation areas. I think that this is a hack because there is apparently some kind of radius you can set on the navigation mesh? I have no idea how to do that. I went into overtime, trying to set things up correctly so that the cat would actually arrive at the destination – fiddling with the settings, but the cat always stopped short of the destination and never reached it. I’ll have to do some more digging to figure that out. I might see if I can get some help on the godot discord.

Here is what it looked like at the end of the stream:

I have a recording of the stream – I left myself on BRB too long by accident.

Recent Posts

  • Back From A Break!
  • Progress on cat simulator – sitting and walking
  • Better Cat Sprites!
  • Finally solved the navigation problems!
  • Navigation and more features!

Archives

  • November 2023
  • October 2023
  • September 2023

Categories

  • Code
  • Design
  • Learning

Find me on the internet! https://linktr.ee/dom700v

©2025 Dom700v – streamer on Joystick.tv | Built using WordPress and Responsive Blogily theme by Superb