Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by castor · Jun 13, 2014 at 07:20 PM · navmeshagenttimescale

NavMeshAgent is slower when TimeScale is higher?

I want to give the impression time is moving faster using Time.timescale. Everything works fine apart from the NavMeshAgent. The actor seems to be slower whenever I increase the Time.timescale value.

I set a basic test where the agent goes from A to B then back to A over and over and tried to see how long it takes him between each point. To do so I have on Update():

worldTime += Time.deltaTime;

And I print the 'worldTime' every time the actor arrives at point A or B.

Timescale = 1

  • worldTime at A: 2.52

  • worldTime at B: 9.11

  • worldTime at A: 15.69 +6 secs

  • worldTime at B: 22.28 + 6 secs

Timescale = 40

  • worldTime at A: 2.52

  • worldTime at B: 11.98

  • worldTime at A: 22.33 +10 secs

  • worldTime at B: 32.98 +10 secs

I realized that the higher I go with the Time.timescale value, the longer the time it takes between A and B in the world time(at Timescale 90 it takes around 15 secs).

I need these times to be the same whatever the timeScale value is. Is there a way to fix it? Maybe I'm doing something wrong?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image castor · Jun 14, 2014 at 04:15 AM 0
Share

I've been trying to change the Speed, Acceleration and Angular speed values and starting to wonder, could it be because when the time goes faster due to the acceleration its harder for the agent to arrive at the destination?

Since the documentation says this about acceleration, I'm wondering if it affects the timescale

An agent does not follow precisely the line segments of the path calculated by the navigation system but rather uses the waypoints along the path as intermediate destinations. This value is the maximum amount by which the agent can accelerate while moving towards the next waypoint.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to prevent Navmesh Agent from overshooting destination with high Time.TimeScale? 1 Answer

Unity Time.timeScale is out of range. Any chance to set it to 360? 1 Answer

Precise distance calculation with high timeScale for NavMeshAgents? 1 Answer

Fast forward time and NavMeshAgents in Unity 0 Answers

Nav mesh agent moves backwards - How can I rotate gameobject without using an empty 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges