s&
infoAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games exploreDiscover Games
categoryWorkshop
sports_esportsGames landscapeMaps view_in_arModels textureMaterials apparelClothing constructionMore..
forumForum menu_bookLearn
docsDocumentation apiApi Reference schoolTutorials manage_searchCode Search
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
Classes
PhysicsShape
EnableTouchPersists
chevron_left Classes
class
PhysicsShape

Properties

data_objectBodydata_objectCapsuledata_objectColliderdata_objectEnableSolidCollisionsdata_objectEnableTouchdata_objectEnableTouchPersistsdata_objectFrictiondata_objectIsCapsuleShapedata_objectIsHeightfieldShapedata_objectIsHullShapedata_objectIsMeshShapedata_objectIsSphereShapedata_objectIsTriggerremove_circleScaledata_objectSpheredata_objectSurfacedata_objectSurfaceMaterialdata_objectSurfacesdata_objectSurfaceVelocitydata_objectTags

Methods

remove_circleAddTagremove_circleClearTagsfunctionsDisableAllCollisionfunctionsEnableAllCollisionremove_circleHasTagfunctionsRemoveremove_circleRemoveTagfunctionsTriangulatefunctionsUpdateHullfunctionsUpdateMesh
EnableTouchPersists
Controls whether this shape can fire continuous touch events for its owning entity (i.e. calling Entity.Touch every frame). Persist events are only sent while the contact is awake, sleeping contacts don't emit them.
property
bool EnableTouchPersists { get; set; }
Declared in Sandbox.PhysicsShape ยท 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