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
ModelHitboxBuilder
chevron_left Classes
class
ModelHitboxBuilder

Properties

data_objectBoneNamedata_objectNamedata_objectSurfaceNamedata_objectTags

Methods

functionsAddTagfunctionsAddTagsfunctionsWithBonefunctionsWithNamefunctionsWithSurface
ModelHitboxBuilder
Configures a model hitbox.
class Sandbox .
sealedSandbox.Engine

data_object Properties 4

BoneName
string
The name of the bone the hitbox follows.
Name
string
The hitbox name.
SurfaceName
string
The physics surface name applied to the hitbox.
Tags
IReadOnlyList`1
The hitbox tags.

functions Methods 5

AddTag (tag)
ModelHitboxBuilder
Adds a tag to the hitbox.
AddTags (tags)
ModelHitboxBuilder
Adds tags to the hitbox.
WithBone (boneName)
ModelHitboxBuilder
WithName (name)
ModelHitboxBuilder
WithSurface (surfaceName)
ModelHitboxBuilder
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