C# Class Project290.Physics.Dynamics.Island

This is an internal class.
显示文件 Open project: scastle/Solitude

Public Properties

Property Type Description
Bodies Project290.Physics.Dynamics.Body[]
BodyCount int
ContactCount int
JointCount int
JointUpdateTime float

Public Methods

Method Description
Add ( Body body ) : void
Add ( Contact contact ) : void
Add ( Joint joint ) : void
Clear ( ) : void
Reset ( int bodyCapacity, int contactCapacity, int jointCapacity, ContactManager contactManager ) : void
Solve ( TimeStep &step, Vector2 &gravity ) : void

Private Methods

Method Description
Report ( ContactConstraint constraints ) : void
SolveTOI ( TimeStep &subStep ) : void

Method Details

Add() public method

public Add ( Body body ) : void
body Body
return void

Add() public method

public Add ( Contact contact ) : void
contact Project290.Physics.Dynamics.Contacts.Contact
return void

Add() public method

public Add ( Joint joint ) : void
joint Project290.Physics.Dynamics.Joints.Joint
return void

Clear() public method

public Clear ( ) : void
return void

Reset() public method

public Reset ( int bodyCapacity, int contactCapacity, int jointCapacity, ContactManager contactManager ) : void
bodyCapacity int
contactCapacity int
jointCapacity int
contactManager ContactManager
return void

Solve() public method

public Solve ( TimeStep &step, Vector2 &gravity ) : void
step TimeStep
gravity Vector2
return void

Property Details

Bodies public_oe property

public Body[],Project290.Physics.Dynamics Bodies
return Project290.Physics.Dynamics.Body[]

BodyCount public_oe property

public int BodyCount
return int

ContactCount public_oe property

public int ContactCount
return int

JointCount public_oe property

public int JointCount
return int

JointUpdateTime public_oe property

public float JointUpdateTime
return float