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

Properties

data_objectName

Methods

functionsAddBoxfunctionsAddCapsulefunctionsAddHullfunctionsAddSpherefunctionsWithName
HitboxSetBuilder
Builds a named set of model hitboxes.
class Sandbox .
sealedSandbox.Engine

data_object Properties 1

Name
string
The name of the hitbox set.

functions Methods 5

AddBox (name, boneName, bounds)
ModelHitboxBuilder
Adds a box hitbox in bone-local space.
AddCapsule (name, boneName, capsule)
ModelHitboxBuilder
Adds a capsule hitbox in bone-local space.
AddHull (name, boneName, points)
ModelHitboxBuilder
AddSphere (name, boneName, sphere)
ModelHitboxBuilder
Adds a sphere hitbox in bone-local space.
WithName (name)
HitboxSetBuilder
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