❄️🎁⛄ The Winter Games Tournament is Live! 🎄🎅❄️
Jump to content

Josh

Staff
  • Posts

    26,899
  • Joined

  • Last visited

Profile Information

  • Location
    USA

Recent Profile Visitors

1,529,835 profile views

Josh's Achievements

Grand Master

Grand Master (14/14)

  • Well Followed
  • Dedicated
  • Conversation Starter
  • Reacting Well
  • Problem Solver

Recent Badges

17.2k

Reputation

1.3k

Community Answers

  1. Josh

    WaitEvent

    Yes, this is much better.
  2. There doesn't appear to be one simple state that tells you what the recast navigation agent is doing. I'm sure the info is in there somewhere, but it will take more time to figure out exactly how it works and what information is available.
  3. Let me see if I even have any functionality like that in Recast...
  4. Not currently. I usually just do a distance check between their position and the destination, and if it's less than a certain amount, I consider them to have reached their destination.
  5. Josh

    WaitEvent

    Yeah, you are constantly creating timers, and you are waiting for an event inside the update loop! You probably want to do this: function MyScript:Update() if player:GetPosition().y < -5 and self.enabled == true then self.enabled = false if self.gTimerReborn == nil then self.gTimerReborn = CreateTimer(2000) self:ListenEvent(EVENT_TIMERTICK, self.gTimerReborn) end --self:Kill(player) --self:Start() end end function MyScript:ProcessEvent(event) if event.id == EVENT_TIMERTICK and event.source == self.gTimerReborn then player:SetPosition(initialLocation) self.gTimerReborn:Stop() self.gTimerReborn = nil end end
  6. Thanks for the suggestions. Would love to see how you are using the terrain. It sounds like you are doing some very interesting stuff.
  7. I can't answer this without seeing your project.
  8. Closing due to lack of response...
  9. 5.0.2 Beta Full update for bug fixes, see details here: https://www.leadwerks.com/community/forum/120-bug-reports/?filter=solved_topics
  10. In our game, there was a problem where a call to window->FlushKeys() was resetting the key down state, making the invetory screen flash on and off.
  11. You don't want your characters to act as a navigation obstacle. That will make their volume get removed from the navigation mesh, and may be the cause of your problem. Navigtion agents will avoid each other using the built-in crowd system.
  12. Updating graphics drivers will likely solve this problem. Closing this due to lack of response. If you have still have problems feel free to let me know.
  13. I am not ignoring this, I just know it's probably going to take a lot of intense focus for a few hours and I want to be prepared so I can solve it in one sitting hopefully...
  14. Will require a little effort to set up for testing, but I have another display available for this...
  15. User reports a driver issue fixes performance(?) issues: https://discord.com/channels/1175951843118031049/1175951843612954786/1458329071468413030 Unless told otherwise I will assume this is solved.
×
×
  • Create New...