s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Components
NavMeshAgent
UpdateRotation
chevron_left Components
class
NavMeshAgent

Constructors

functionsNavMeshAgent

Fields

crop_dinCurrentLinkTraversal

Properties

data_objectAccelerationdata_objectAgentPositiondata_objectAllowDefaultAreadata_objectAllowedAreasdata_objectAutoTraverseLinksdata_objectForbiddenAreasdata_objectHeightdata_objectIsNavigatingdata_objectIsTraversingLinkdata_objectLinkEnterdata_objectLinkExitdata_objectMaxSpeeddata_objectRadiusdata_objectSeparationremove_circleSyncAgentPositiondata_objectTargetPositiondata_objectUpdatePositiondata_objectUpdateRotationdata_objectVelocitydata_objectWishVelocity

Methods

functionsCompleteLinkTraversalfunctionsGetLookAheadfunctionsGetPathfunctionsMoveTofunctionsSetAgentPositionfunctionsSetPathfunctionsStop
UpdateRotation
This will simply face the direction it is moving. It is not configurable on purpose, so you should really turn this off and be doing this yourself if you need it to do anything specific.
property
bool UpdateRotation { get; set; }
Declared in Sandbox.NavMeshAgent ยท Assembly Sandbox.Engine
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter