Bodyclass

Represents a `Sandbox.Rigidbody` attached to a specific bone with a local transform.

objectBody
Namespace
global
Assembly
Sandbox.Engine
Declaration
public sealed struct Sandbox.ModelPhysics.Body

Constructors1

Showing 1 constructors

public Body(Sandbox.Rigidbody Component, int Bone, Transform LocalTransform)PUBLICCONSTRUCTOR

Represents a `Sandbox.Rigidbody` attached to a specific bone with a local transform.

ParameterTypeDescription
ComponentRigidbody
Boneint
LocalTransformTransform

Methods1

Showing 1 methods

public void Deconstruct(Sandbox.Rigidbody Component, int Bone, Transform LocalTransform)PUBLIC

ParameterTypeDescription
ComponentRigidbody
Boneint
LocalTransformTransform
Returns:void

Properties3

Showing 3 properties

public int Sandbox.ModelPhysics.Body.Bone { get; set; }PUBLICGETSET

Returns:int

On this page