Table of Contents

Class PhysicalObject.Appendage

Namespace
Global
Assembly
Assembly-CSharp.dll
public class PhysicalObject.Appendage
Inheritance
PhysicalObject.Appendage
Inherited Members

Constructors

Appendage(PhysicalObject, int, int)

public Appendage(PhysicalObject owner, int appIndex, int totSegs)

Parameters

owner PhysicalObject
appIndex int
totSegs int

Fields

appIndex

public int appIndex

Field Value

int

canBeHit

public bool canBeHit

Field Value

bool

owner

public PhysicalObject owner

Field Value

PhysicalObject

ownerApps

public PhysicalObject.IHaveAppendages ownerApps

Field Value

PhysicalObject.IHaveAppendages

segments

public Vector2[] segments

Field Value

Vector2[]

totalLength

public float totalLength

Field Value

float

Methods

LineCross(Vector2, Vector2)

public bool LineCross(Vector2 A, Vector2 B)

Parameters

A Vector2
B Vector2

Returns

bool

OnAppendageDirection(Pos)

public Vector2 OnAppendageDirection(PhysicalObject.Appendage.Pos pos)

Parameters

pos PhysicalObject.Appendage.Pos

Returns

Vector2

OnAppendagePosition(Pos)

public Vector2 OnAppendagePosition(PhysicalObject.Appendage.Pos pos)

Parameters

pos PhysicalObject.Appendage.Pos

Returns

Vector2

Update()

public void Update()