s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Components
ModelHitboxes
chevron_left
Components
class
ModelHitboxes
search
Constructors
functions
ModelHitboxes
Properties
data_object
Renderer
data_object
Target
Methods
functions
AddHitbox
functions
Rebuild
functions
UpdatePositions
menu
ModelHitboxes
Hitboxes from a model
class
Sandbox
.
account_tree
extends
Component
sealed
Sandbox.Engine
build
Constructors
1
ModelHitboxes
(
)
data_object
Properties
2
Renderer
SkinnedModelRenderer
The target SkinnedModelRenderer that holds the model/skeleton you want to take the hitboxes from.
Target
GameObject
The target GameObject to report in trace hits. If this is unset we'll defaault to the gameobject on which this component is.
functions
Methods
3
AddHitbox
(
hitbox
)
Rebuild
(
)
UpdatePositions
(
)
Inheritance
Component
ModelHitboxes
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.