s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Classes
PhysicsShape
EnableTouchPersists
chevron_left Classes
class
PhysicsShape

Properties

data_objectBodydata_objectCapsuledata_objectColliderdata_objectEnableSolidCollisionsdata_objectEnableTouchdata_objectEnableTouchPersistsdata_objectFrictiondata_objectIsCapsuleShapedata_objectIsHeightfieldShapedata_objectIsHullShapedata_objectIsMeshShapedata_objectIsSphereShapedata_objectIsTriggerdata_objectIsValidremove_circleScaledata_objectSpheredata_objectSurfacedata_objectSurfaceMaterialdata_objectSurfacesdata_objectSurfaceVelocitydata_objectTags

Methods

remove_circleAddTagremove_circleClearTagsfunctionsDisableAllCollisionfunctionsEnableAllCollisionremove_circleHasTagfunctionsRemoveremove_circleRemoveTagfunctionsTriangulatefunctionsUpdateHullfunctionsUpdateMeshfunctionsUpdatePlane
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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter