C# Class BSoftBody, BulletUnity3D

Inheritance: MonoBehaviour
Mostra file Open project: sanglin307/BulletUnity3D Class Usage Examples

Public Properties

Property Type Description
AnchorNode int
AnchorPivot Vector3
ClusterNum int
CornerFix00 bool
CornerFix01 bool
CornerFix10 bool
CornerFix11 bool
DampingCoefficient float
DragCoefficient float
DynamicFrictionCoefficient float
EllipsoidRadius Vector3
FixRopeBegin bool
FixRopeEnd bool
LiftCoefficient float
Mass float
MaterialAngularStiffness float
MaterialLinearStiffness float
MaterialVolumeStiffness float
MeshResolution int
PatchCorner00 Vector3
PatchCorner01 Vector3
PatchCorner10 Vector3
PatchCorner11 Vector3
PatchResolutionX int
PatchResolutionY int
PressureCoefficient float
RigidBodyAnchor BRigidBody,
RigidContactsHardness float
RopeColor Color
RopeFromPos Vector3
RopeResolution int
RopeToPos Vector3
RopeWidth float
SelfCollision bool
SoftCollisionType CollisionType,
VolumeConversationCoefficient float
bAeroMode bool
softBodyType SoftBodyType

Public Methods

Method Description
CreateBulletStyleMesh ( ) : void
GetSofyBodyObj ( ) : btSoftBody
OnBulletCreate ( btSoftBodyWorldInfo softBodyWorldInfo ) : bool
OnBulletExit ( ) : bool
OnDrawGizmos ( ) : void
SetParam ( ) : void
SpawnLineRender ( ) : void
SpawnMesh ( ) : void
Update ( ) : void

Private Methods

Method Description
CheckUnityMesh ( ) : bool
SameVector ( Vector3 p1, Vector3 p2 ) : bool

Method Details

CreateBulletStyleMesh() public method

public CreateBulletStyleMesh ( ) : void
return void

GetSofyBodyObj() public method

public GetSofyBodyObj ( ) : btSoftBody
return BulletCSharp.btSoftBody

OnBulletCreate() public method

public OnBulletCreate ( btSoftBodyWorldInfo softBodyWorldInfo ) : bool
softBodyWorldInfo BulletCSharp.btSoftBodyWorldInfo
return bool

OnBulletExit() public method

public OnBulletExit ( ) : bool
return bool

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

SetParam() public method

public SetParam ( ) : void
return void

SpawnLineRender() public method

public SpawnLineRender ( ) : void
return void

SpawnMesh() public method

public SpawnMesh ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

AnchorNode public_oe property

public int AnchorNode
return int

AnchorPivot public_oe property

public Vector3 AnchorPivot
return Vector3

ClusterNum public_oe property

public int ClusterNum
return int

CornerFix00 public_oe property

public bool CornerFix00
return bool

CornerFix01 public_oe property

public bool CornerFix01
return bool

CornerFix10 public_oe property

public bool CornerFix10
return bool

CornerFix11 public_oe property

public bool CornerFix11
return bool

DampingCoefficient public_oe property

public float DampingCoefficient
return float

DragCoefficient public_oe property

public float DragCoefficient
return float

DynamicFrictionCoefficient public_oe property

public float DynamicFrictionCoefficient
return float

EllipsoidRadius public_oe property

public Vector3 EllipsoidRadius
return Vector3

FixRopeBegin public_oe property

public bool FixRopeBegin
return bool

FixRopeEnd public_oe property

public bool FixRopeEnd
return bool

LiftCoefficient public_oe property

public float LiftCoefficient
return float

Mass public_oe property

public float Mass
return float

MaterialAngularStiffness public_oe property

public float MaterialAngularStiffness
return float

MaterialLinearStiffness public_oe property

public float MaterialLinearStiffness
return float

MaterialVolumeStiffness public_oe property

public float MaterialVolumeStiffness
return float

MeshResolution public_oe property

public int MeshResolution
return int

PatchCorner00 public_oe property

public Vector3 PatchCorner00
return Vector3

PatchCorner01 public_oe property

public Vector3 PatchCorner01
return Vector3

PatchCorner10 public_oe property

public Vector3 PatchCorner10
return Vector3

PatchCorner11 public_oe property

public Vector3 PatchCorner11
return Vector3

PatchResolutionX public_oe property

public int PatchResolutionX
return int

PatchResolutionY public_oe property

public int PatchResolutionY
return int

PressureCoefficient public_oe property

public float PressureCoefficient
return float

RigidBodyAnchor public_oe property

public BRigidBody, RigidBodyAnchor
return BRigidBody,

RigidContactsHardness public_oe property

public float RigidContactsHardness
return float

RopeColor public_oe property

public Color RopeColor
return Color

RopeFromPos public_oe property

public Vector3 RopeFromPos
return Vector3

RopeResolution public_oe property

public int RopeResolution
return int

RopeToPos public_oe property

public Vector3 RopeToPos
return Vector3

RopeWidth public_oe property

public float RopeWidth
return float

SelfCollision public_oe property

public bool SelfCollision
return bool

SoftCollisionType public_oe property

public CollisionType, SoftCollisionType
return CollisionType,

VolumeConversationCoefficient public_oe property

public float VolumeConversationCoefficient
return float

bAeroMode public_oe property

public bool bAeroMode
return bool

softBodyType public_oe property

public SoftBodyType softBodyType
return SoftBodyType