A mouse joint is used to make a point on a body track a specified
world point. This a soft constraint with a maximum force. This allows the
constraint to stretch and without applying huge forces.
|
|
|
|
|
|
|
__setstate__(self,
data)
The factory output cannot be created just yet, so store the necessary
information to create it later. |
source code
|
|
|
|
|
__swig_destroy__(...)
delete_b2MouseJoint(b2MouseJoint self) |
|
|
|
|
|
InitVelocityConstraints(...)
b2MouseJoint_InitVelocityConstraints(b2MouseJoint self, b2TimeStep
step) |
source code
|
|
|
SolveVelocityConstraints(...)
b2MouseJoint_SolveVelocityConstraints(b2MouseJoint self, b2TimeStep
step) |
source code
|
|
|
SolvePositionConstraints(...)
b2MouseJoint_SolvePositionConstraints(b2MouseJoint self, float32
baumgarte) -> bool |
source code
|
|
|
ClearUserData(...)
b2Joint_ClearUserData(b2Joint self) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
asDistanceJoint(...)
b2Joint_asDistanceJoint(b2Joint self) -> b2DistanceJoint |
source code
|
|
|
asGearJoint(...)
b2Joint_asGearJoint(b2Joint self) -> b2GearJoint |
source code
|
|
|
asLineJoint(...)
b2Joint_asLineJoint(b2Joint self) -> b2LineJoint |
source code
|
|
|
asMouseJoint(...)
b2Joint_asMouseJoint(b2Joint self) -> b2MouseJoint |
source code
|
|
|
asPrismaticJoint(...)
b2Joint_asPrismaticJoint(b2Joint self) -> b2PrismaticJoint |
source code
|
|
|
asPulleyJoint(...)
b2Joint_asPulleyJoint(b2Joint self) -> b2PulleyJoint |
source code
|
|
|
asRevoluteJoint(...)
b2Joint_asRevoluteJoint(b2Joint self) -> b2RevoluteJoint |
source code
|
|
|
getAsType(self)
Return a typecasted version of the joint |
source code
|
|
|
|
|
thisown
The membership flag
|
|
localAnchor
b2MouseJoint_localAnchor_get(b2MouseJoint self) -> b2Vec2
|
|
target
b2MouseJoint_target_get(b2MouseJoint self) -> b2Vec2
|
|
impulse
b2MouseJoint_impulse_get(b2MouseJoint self) -> b2Vec2
|
|
mass
b2MouseJoint_mass_get(b2MouseJoint self) -> b2Mat22
|
|
C
b2MouseJoint_C_get(b2MouseJoint self) -> b2Vec2
|
|
maxForce
b2MouseJoint_maxForce_get(b2MouseJoint self) -> float32
|
|
frequencyHz
b2MouseJoint_frequencyHz_get(b2MouseJoint self) -> float32
|
|
dampingRatio
b2MouseJoint_dampingRatio_get(b2MouseJoint self) -> float32
|
|
beta
b2MouseJoint_beta_get(b2MouseJoint self) -> float32
|
|
gamma
b2MouseJoint_gamma_get(b2MouseJoint self) -> float32
|
|
body1
GetBody1(self) -> b2Body
|
|
body2
GetBody2(self) -> b2Body
|
|
collideConnected
GetCollideConnected(self) -> bool
|
|
type
GetType(self) -> b2JointType
|
|
userData
GetUserData(self) -> PyObject
|