메소드 | 설명 | |
---|---|---|
ExclusiveUpdate ( ) : void |
Performs any pre-solve iteration work that needs exclusive access to the members of the solver updateable. Usually, this is used for applying warmstarting impulses.
|
|
GetAngularJacobianA ( Vector3 &jacobianX, Vector3 &jacobianY ) : void |
Gets the angular jacobian entry for the first connected entity.
|
|
GetAngularJacobianB ( Vector3 &jacobianX, Vector3 &jacobianY ) : void |
Gets the angular jacobian entry for the second connected entity.
|
|
GetLinearJacobianA ( Vector3 &jacobianX, Vector3 &jacobianY ) : void |
Gets the linear jacobian entry for the first connected entity.
|
|
GetLinearJacobianB ( Vector3 &jacobianX, Vector3 &jacobianY ) : void |
Gets the linear jacobian entry for the second connected entity.
|
|
GetMassMatrix ( Matrix2x2 &massMatrix ) : void |
Gets the mass matrix of the constraint.
|
|
PointOnLineJoint ( ) : System |
Constructs a joint which constrains a point of one body to be on a line based on the other body. To finish the initialization, specify the connections (ConnectionA and ConnectionB), the LineAnchor, the LineDirection, and the Point (or the entity-local versions). This constructor sets the constraint's IsActive property to false by default.
|
|
PointOnLineJoint ( Entity connectionA, Entity connectionB, Vector3 lineAnchor, Vector3 lineDirection, Vector3 pointLocation ) : System |
Constructs a joint which constrains a point of one body to be on a line based on the other body.
|
|
SolveIteration ( ) : float |
Calculates and applies corrective impulses. Called automatically by space.
|
|
Update ( float dt ) : void |
Performs the frame's configuration step.
|
메소드 | 설명 | |
---|---|---|
UpdateRestrictedAxes ( ) : void |
public GetAngularJacobianA ( Vector3 &jacobianX, Vector3 &jacobianY ) : void | ||
jacobianX | Vector3 | First angular jacobian entry for the first connected entity. |
jacobianY | Vector3 | Second angular jacobian entry for the first connected entity. |
리턴 | void |
public GetAngularJacobianB ( Vector3 &jacobianX, Vector3 &jacobianY ) : void | ||
jacobianX | Vector3 | First angular jacobian entry for the second connected entity. |
jacobianY | Vector3 | Second angular jacobian entry for the second connected entity. |
리턴 | void |
public GetLinearJacobianA ( Vector3 &jacobianX, Vector3 &jacobianY ) : void | ||
jacobianX | Vector3 | First linear jacobian entry for the first connected entity. |
jacobianY | Vector3 | Second linear jacobian entry for the first connected entity. |
리턴 | void |
public GetLinearJacobianB ( Vector3 &jacobianX, Vector3 &jacobianY ) : void | ||
jacobianX | Vector3 | First linear jacobian entry for the second connected entity. |
jacobianY | Vector3 | Second linear jacobian entry for the second connected entity. |
리턴 | void |
public GetMassMatrix ( Matrix2x2 &massMatrix ) : void | ||
massMatrix | Matrix2x2 | Constraint's mass matrix. |
리턴 | void |
public PointOnLineJoint ( Entity connectionA, Entity connectionB, Vector3 lineAnchor, Vector3 lineDirection, Vector3 pointLocation ) : System | ||
connectionA | Entity | First connected entity which defines the line. |
connectionB | Entity | Second connected entity which has a point. |
lineAnchor | Vector3 | Location off of which the line is based in world space. |
lineDirection | Vector3 | Direction of the line in world space. |
pointLocation | Vector3 | Location of the point anchored to connectionB in world space. |
리턴 | System |