Public Member Functions | Public Attributes
b2FrictionJointDef Struct Reference

Friction joint definition. More...

#include <b2FrictionJoint.h>

Inheritance diagram for b2FrictionJointDef:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 b2FrictionJointDef ()
void Initialize (b2Body *bodyA, b2Body *bodyB, const b2Vec2 &anchor)

Public Attributes

b2Vec2 localAnchorA
 The local anchor point relative to bodyA's origin.
b2Vec2 localAnchorB
 The local anchor point relative to bodyB's origin.
float32 maxForce
 The maximum friction force in N.
float32 maxTorque
 The maximum friction torque in N-m.

Detailed Description

Friction joint definition.

Definition at line 25 of file b2FrictionJoint.h.


Constructor & Destructor Documentation

Definition at line 27 of file b2FrictionJoint.h.


Member Function Documentation

void b2FrictionJointDef::Initialize ( b2Body bodyA,
b2Body bodyB,
const b2Vec2 anchor 
)

Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.

Definition at line 35 of file b2FrictionJoint.cpp.


Member Data Documentation

The local anchor point relative to bodyA's origin.

Definition at line 41 of file b2FrictionJoint.h.

The local anchor point relative to bodyB's origin.

Definition at line 44 of file b2FrictionJoint.h.

The maximum friction force in N.

Definition at line 47 of file b2FrictionJoint.h.

The maximum friction torque in N-m.

Definition at line 50 of file b2FrictionJoint.h.


The documentation for this struct was generated from the following files:


mvsim
Author(s):
autogenerated on Thu Jun 6 2019 22:08:35