Table of Contents

Struct RagdollLinkDefinition2D

Namespace
Gravitas.Constraints
Assembly
Gravitas.dll

Authored link entry for a deterministic pure 2D ragdoll articulation.

public readonly struct RagdollLinkDefinition2D
Inherited Members

Constructors

RagdollLinkDefinition2D(int, SolidBody2D)

Creates a pure 2D ragdoll link definition.

public RagdollLinkDefinition2D(int linkId, SolidBody2D body)

Parameters

linkId int
body SolidBody2D

Properties

Body

Gets the body represented by this ragdoll link.

public SolidBody2D Body { get; }

Property Value

SolidBody2D

Collider

Gets the collider represented by this ragdoll link.

public LSCollider2D Collider { get; }

Property Value

LSCollider2D

LinkId

Gets the stable authored link ID.

public int LinkId { get; }

Property Value

int