Class Island
- Namespace
- Alis.Core.Physic.Dynamics
- Assembly
- Alis.dll
This is an internal class.
public class IslandInheritance
Inherited Members
Fields
AngTolSqr
The angular sleep tolerance
private const float AngTolSqr = 0.0012184699Field Value
Bodies
The bodies
public Body[] BodiesField Value
- Body[]
BodyCapacity
The body capacity
public int BodyCapacityField Value
BodyCount
The body count
public int BodyCountField Value
ContactCapacity
The contact capacity
public int ContactCapacityField Value
ContactCount
The contact count
public int ContactCountField Value
JointCapacity
The joint capacity
public int JointCapacityField Value
JointCount
The joint count
public int JointCountField Value
JointUpdateTime
The joint update time
public TimeSpan JointUpdateTimeField Value
LinTolSqr
The linear sleep tolerance
private const float LinTolSqr = 0.0001Field Value
_contactManager
The contact manager
private ContactManager _contactManagerField Value
_contactSolver
The contact solver
private readonly ContactSolver _contactSolverField Value
_contacts
The contacts
private Contact[] _contactsField Value
- Contact[]
_joints
The joints
private Joint[] _jointsField Value
- Joint[]
_locks
The locks
internal int[] _locksField Value
- int[]
_positions
The positions
internal SolverPosition[] _positionsField Value
_velocities
The velocities
internal SolverVelocity[] _velocitiesField Value
_watch
The stopwatch
private readonly Stopwatch _watchField Value
Methods
Add(Body)
Adds the body
public void Add(Body body)Parameters
bodyBody-
The body
Add(Contact)
Adds the contact
public void Add(Contact contact)Parameters
contactContact-
The contact
Add(Joint)
Adds the joint
public void Add(Joint joint)Parameters
jointJoint-
The joint
Clear()
Clears this instance
public void Clear()Report(ContactVelocityConstraint[])
Reports the constraints
private void Report(ContactVelocityConstraint[] constraints)Parameters
constraintsContactVelocityConstraint[]-
The constraints
Reset(int, int, int, ContactManager)
Resets the body capacity
public void Reset(int bodyCapacity, int contactCapacity, int jointCapacity, ContactManager contactManager)Parameters
bodyCapacityint-
The body capacity
contactCapacityint-
The contact capacity
jointCapacityint-
The joint capacity
contactManagerContactManager-
The contact manager
Solve(ref TimeStep, ref Vector2)
Solves the step
internal void Solve(ref TimeStep step, ref Vector2 gravity)Parameters
SolveTOI(ref TimeStep, int, int)
Solves the toi using the specified sub step
internal void SolveTOI(ref TimeStep subStep, int toiIndexA, int toiIndexB)