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
Classes
PhysicsGroup
GetBody
chevron_left
Classes
class
PhysicsGroup
search
Properties
data_object
AngularDamping
data_object
AngularVelocity
data_object
Bodies
data_object
BodyCount
data_object
Joints
data_object
LinearDamping
data_object
Mass
data_object
MassCenter
data_object
Pos
data_object
Sleeping
data_object
Velocity
data_object
World
Methods
functions
AddAngularVelocity
functions
AddVelocity
functions
ApplyAngularImpulse
functions
ApplyImpulse
functions
GetBody
functions
RebuildMass
functions
Remove
functions
SetSurface
menu
GetBody
Gets a Sandbox.PhysicsBody at given index within this physics group. See Sandbox.PhysicsGroup.BodyCount.
method
2 overloads
Overloads
1
2
PhysicsBody
GetBody
(
int
groupIndex
)
Parameters
Name
Type
Description
groupIndex
int
Index for the body to look up, in range from 0 to
.
Returns
Type
Description
PhysicsBody
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.