objects. Think ragdoll.
| AngularDamping |
Sets Sandbox.PhysicsBody.AngularDamping on all bodies in this group. |
| AngularVelocity |
Sets Sandbox.PhysicsBody.AngularVelocity on all bodies of this group. |
| Bodies |
Returns all physics bodies that belong to this physics group. |
| BodyCount |
Returns amount of physics bodies that belong to this physics group. |
| Joints |
Any and all joints that are attached to any body in this group. |
| LinearDamping |
Sets Sandbox.PhysicsBody.LinearDamping on all bodies in this group. |
| Mass |
The total mass of all the <b>dynamic</b><see cref="T:Sandbox.PhysicsBody">PhysicsBodies</see> in this group.
When setting the total mass, it will be set on each body proportionally to each of their old masses,
i.e. if a body had 25% of previous total mass, it will have 25% of new total mass. |
| MassCenter |
Returns the center of mass for this group of physics bodies. |
| Pos |
Returns position of the first physics body of this group, or zero vector if it has none. |
| Sleeping |
Physics bodies automatically go to sleep after a certain amount of time of inactivity to save on performance.
You can use this to wake the body up, or prematurely send it to sleep. |
| Velocity |
Sets Sandbox.PhysicsBody.Velocity on all bodies of this group. |
| World |
The world in which this group belongs |
| AddAngularVelocity |
Adds given amount of angular velocity to all physics bodies in this group. |
| AddVelocity |
Adds given amount of velocity (Sandbox.PhysicsBody.ApplyForce(Vector3)) to all physics bodies in this group. |
| ApplyAngularImpulse |
Adds given amount of angular linear impulse (Sandbox.PhysicsBody.ApplyAngularImpulse(Vector3)) to all physics bodies in this group. |
| ApplyImpulse |
Adds given amount of linear impulse (Sandbox.PhysicsBody.ApplyImpulse(Vector3)) to all physics bodies in this group. |
| GetBody |
Gets a Sandbox.PhysicsBody at given index within this physics group. See Sandbox.PhysicsGroup.BodyCount. |
| RebuildMass |
Calls Sandbox.PhysicsBody.RebuildMass on all bodies of this group. |
| Remove |
Delete this group, and all of its bodies |
| SetSurface |
Sets the physical properties of each <see cref="T:Sandbox.PhysicsShape">PhysicsShape</see> of this group. |