Table of Contents

Class VoxelAttachment

Namespace
VoxelPlayground.Gaming
Assembly
GamePlay.dll
public class VoxelAttachment : MonoBehaviour
Inheritance
object
VoxelAttachment
Extension Methods

Fields

dataOwner

public VoxelVolume dataOwner

Field Value

VoxelVolume

OnDetach

public Action OnDetach

Field Value

Action

test

public Vector3 test

Field Value

Vector3

Methods

AttachByJoint(ConfigurableJoint, Vector3[], VoxelVolume)

public void AttachByJoint(ConfigurableJoint configurableJoint, Vector3[] attachedWorldPos, VoxelVolume dataOwner)

Parameters

configurableJoint ConfigurableJoint
attachedWorldPos Vector3[]
dataOwner VoxelVolume

AttachByJoint(Rigidbody, Rigidbody, Vector3[], VoxelVolume)

public void AttachByJoint(Rigidbody selfRB, Rigidbody targetRB, Vector3[] attachedWorldPos, VoxelVolume dataOwner)

Parameters

selfRB Rigidbody
targetRB Rigidbody
attachedWorldPos Vector3[]
dataOwner VoxelVolume

Detach()

public void Detach()