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

Function MakeB2JointDef

DynamicsB2Joint.go:134–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132}
133
134func MakeB2JointDef() B2JointDef {
135 res := B2JointDef{}
136 res.Type = B2JointType.E_unknownJoint
137 res.UserData = nil
138 res.BodyA = nil
139 res.BodyB = nil
140 res.CollideConnected = false
141
142 return res
143}
144
145/// The base joint class. Joints are used to constraint two bodies together in
146/// various fashions. Some joints also feature limits and motors.

Callers 10

MakeB2WeldJointDefFunction · 0.85
MakeB2RopeJointDefFunction · 0.85
MakeB2PrismaticJointDefFunction · 0.85
MakeB2WheelJointDefFunction · 0.85
MakeB2PulleyJointDefFunction · 0.85
MakeB2GearJointDefFunction · 0.85
MakeB2FrictionJointDefFunction · 0.85
MakeB2DistanceJointDefFunction · 0.85
MakeB2RevoluteJointDefFunction · 0.85
MakeB2MouseJointDefFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected