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
0
Question by abdosaher · Sep 17, 2013 at 03:26 PM · rigidbodynavmeshcarcontrol

Rigidbody makes NavmeshAgent stutter in its movement

So I have a simple NavmeshAgent controlling a car and another car controlled by the player via rigidbody.add force, The problem is whenever I go near the agent with my rigidbody car it starts to stutter in its movement but once I am away from it, It moves perfectly. Any idea why is that? I even removed all of my scripts from the scene to make sure there is no conflicts here or there.

Comment
Add comment · Show 5
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 Eradan · Jun 11, 2016 at 04:19 AM 0
Share

I have the same identical problem, the question is old but are there any answers?

avatar image abdosaher Eradan · Jun 11, 2016 at 06:29 AM 0
Share

The new navigation system handles dynamic path finding a lot better now and I haven't had any problems using it, if you are having the same problem make sure you are using the latest path finding done by unity and also to not use more than one path finding system as they tend to negate each other.

avatar image Eradan abdosaher · Jun 13, 2016 at 12:05 PM 0
Share

Actually the stuttering came from my main rigidbody (the player) and not the AI agents. I'm opening another question.

avatar image ishdagz · Jun 11, 2016 at 06:59 PM 0
Share

Have you tried changing the 'Obstacle Avoidance' settings or setting it to 'none? to see if it has any effect? Does it stop happening when rigid body is momentarily turned off or force isn't being applied?

avatar image EDevJogos · Aug 05, 2016 at 07:47 PM 0
Share

Same problem here.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by unity_060jboUqGuJBew · Jan 18, 2020 at 08:04 PM

I know this is old, but I found this so I thought I'd leave an update for others like myself also finding this later.

https://docs.unity3d.com/Manual/nav-MixingComponents.html

TL;DR; use "Is Kinematic" on your RigidBody when combining with NavMeshAgent to tell unity that something else is controlling your body. This way you won't have a race condition (which is what the stutter is).

Comment
Add comment · Share
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

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

20 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

Related Questions

How to make camera position relative to a specific target. 1 Answer

A little help with using Navmesh agents with RigidBody physics. 0 Answers

Stop Wheel Colliders from flipping over 1 Answer

add force get stronger over time slow. 2 Answers

Car Accelerate Over Time. (JavaScript and RigidBody) 2 Answers


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