Physics2D/Constraint2D: Add method GetLastImpulse
This commit is contained in:
committed by
SirLynix
parent
60b7671b54
commit
e6c74fbc5f
@@ -56,6 +56,11 @@ namespace Nz
|
||||
return float(cpConstraintGetErrorBias(m_constraint));
|
||||
}
|
||||
|
||||
float Constraint2D::GetLastImpulse() const
|
||||
{
|
||||
return float(cpConstraintGetImpulse(m_constraint));
|
||||
}
|
||||
|
||||
float Constraint2D::GetMaxBias() const
|
||||
{
|
||||
return float(cpConstraintGetMaxBias(m_constraint));
|
||||
|
||||
Reference in New Issue
Block a user