Public Member Functions | Public Attributes
b2MouseJointDef Struct Reference

#include <b2MouseJoint.h>

Inheritance diagram for b2MouseJointDef:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 b2MouseJointDef ()

Public Attributes

float32 dampingRatio
 The damping ratio. 0 = no damping, 1 = critical damping.
float32 frequencyHz
 The response speed.
float32 maxForce
b2Vec2 target

Detailed Description

Mouse joint definition. This requires a world target point, tuning parameters, and the time step.

Definition at line 26 of file b2MouseJoint.h.


Constructor & Destructor Documentation

Definition at line 28 of file b2MouseJoint.h.


Member Data Documentation

The damping ratio. 0 = no damping, 1 = critical damping.

Definition at line 50 of file b2MouseJoint.h.

The response speed.

Definition at line 47 of file b2MouseJoint.h.

The maximum constraint force that can be exerted to move the candidate body. Usually you will express as some multiple of the weight (multiplier * mass * gravity).

Definition at line 44 of file b2MouseJoint.h.

The initial world target point. This is assumed to coincide with the body anchor initially.

Definition at line 39 of file b2MouseJoint.h.


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


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