MCPcopy Create free account
hub / github.com/ByteArena/box2d / B2JointDef

Struct B2JointDef

DynamicsB2Joint.go:62–78  ·  view source on GitHub ↗

Joint definitions are used to construct joints.

Source from the content-addressed store, hash-verified

60
61/// Joint definitions are used to construct joints.
62type B2JointDef struct {
63
64 /// The joint type is set automatically for concrete joint types.
65 Type uint8
66
67 /// Use this to attach application specific data to your joints.
68 UserData interface{}
69
70 /// The first attached body.
71 BodyA *B2Body
72
73 /// The second attached body.
74 BodyB *B2Body
75
76 /// Set this flag to true if the attached bodies should collide.
77 CollideConnected bool
78}
79
80type B2JointDefInterface interface {
81 GetType() uint8

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected