@NoOffset @Properties(inherit=liquidfun.class) public class b2PulleyJoint extends b2Joint
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
b2PulleyJoint(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Dump()
Dump joint to dmLog
|
b2Vec2 |
GetAnchorA()
Get the anchor point on bodyA in world coordinates.
|
b2Vec2 |
GetAnchorB()
Get the anchor point on bodyB in world coordinates.
|
float |
GetCurrentLengthA()
Get the current length of the segment attached to bodyA.
|
float |
GetCurrentLengthB()
Get the current length of the segment attached to bodyB.
|
b2Vec2 |
GetGroundAnchorA()
Get the first ground anchor.
|
b2Vec2 |
GetGroundAnchorB()
Get the second ground anchor.
|
float |
GetLengthA()
Get the current length of the segment attached to bodyA.
|
float |
GetLengthB()
Get the current length of the segment attached to bodyB.
|
float |
GetRatio()
Get the pulley ratio.
|
b2Vec2 |
GetReactionForce(float inv_dt)
Get the reaction force on bodyB at the joint anchor in Newtons.
|
float |
GetReactionTorque(float inv_dt)
Get the reaction torque on bodyB in N*m.
|
void |
ShiftOrigin(b2Vec2 newOrigin)
Implement b2Joint::ShiftOrigin
|
GetBodyA, GetBodyB, GetCollideConnected, GetNext, GetType, GetUserData, IsActive, SetUserDataaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic b2PulleyJoint(Pointer p)
Pointer.Pointer(Pointer).@ByVal public b2Vec2 GetAnchorA()
b2JointGetAnchorA in class b2Joint@ByVal public b2Vec2 GetAnchorB()
b2JointGetAnchorB in class b2Joint@ByVal public b2Vec2 GetReactionForce(@Cast(value="float32") float inv_dt)
b2JointGetReactionForce in class b2Joint@Cast(value="float32") public float GetReactionTorque(@Cast(value="float32") float inv_dt)
b2JointGetReactionTorque in class b2Joint@Cast(value="float32") public float GetLengthA()
@Cast(value="float32") public float GetLengthB()
@Cast(value="float32") public float GetCurrentLengthA()
@Cast(value="float32") public float GetCurrentLengthB()
public void ShiftOrigin(@Const @ByRef b2Vec2 newOrigin)
ShiftOrigin in class b2JointCopyright © 2019. All rights reserved.