◆ SubmarineBody()
| Barotrauma.SubmarineBody.SubmarineBody |
( |
Submarine | sub, |
|
|
bool | showErrorMessages = true ) |
◆ ApplyForce()
| void Barotrauma.SubmarineBody.ApplyForce |
( |
Vector2 | force | ) |
|
◆ FlipX()
| void Barotrauma.SubmarineBody.FlipX |
( |
| ) |
|
◆ OnCollision()
| bool Barotrauma.SubmarineBody.OnCollision |
( |
Fixture | f1, |
|
|
Fixture | f2, |
|
|
Contact | contact ) |
◆ Remove()
| void Barotrauma.SubmarineBody.Remove |
( |
| ) |
|
◆ SetPosition()
| void Barotrauma.SubmarineBody.SetPosition |
( |
Vector2 | position | ) |
|
◆ Update()
| void Barotrauma.SubmarineBody.Update |
( |
float | deltaTime | ) |
|
◆ Body
◆ CollidesWith
| const Category Barotrauma.SubmarineBody.CollidesWith |
|
static |
Initial value:=
Physics.CollisionItem |
Physics.CollisionLevel |
Physics.CollisionCharacter |
Physics.CollisionProjectile |
Physics.CollisionWall
◆ NeutralBallastPercentage
| const float Barotrauma.SubmarineBody.NeutralBallastPercentage = 0.07f |
|
static |
◆ Borders
| Rectangle Barotrauma.SubmarineBody.Borders |
|
get |
Extents of the solid items/structures (ones with a physics body) and hulls.
◆ HullVertices
| List<Vector2> Barotrauma.SubmarineBody.HullVertices |
|
get |
◆ Position
| Vector2 Barotrauma.SubmarineBody.Position |
|
get |
◆ PositionBuffer
| List<PosInfo> Barotrauma.SubmarineBody.PositionBuffer |
|
get |
◆ Submarine
◆ Velocity
| Vector2 Barotrauma.SubmarineBody.Velocity |
|
getset |
◆ VisibleBorders
| Rectangle Barotrauma.SubmarineBody.VisibleBorders |
|
get |
Extents of all the visible items/structures/hulls (including ones without a physics body)
The documentation for this class was generated from the following file:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/Map/SubmarineBody.cs