We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1e6a6c commit 73cf564Copy full SHA for 73cf564
fxgl-entity/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java
@@ -96,6 +96,9 @@ public void initVelocityConstraints(final SolverData data) {
96
m_state = LimitState.INACTIVE;
97
}
98
99
+ pool.pushRot(2);
100
+ pool.pushVec2(1);
101
+
102
if (m_length > JBoxSettings.linearSlop) {
103
m_u.mulLocal(1.0f / m_length);
104
} else {
@@ -129,9 +132,6 @@ public void initVelocityConstraints(final SolverData data) {
129
132
m_impulse = 0.0f;
130
133
131
134
- pool.pushRot(2);
- pool.pushVec2(1);
-
135
data.velocities[m_indexA].w = wA;
136
data.velocities[m_indexB].w = wB;
137
0 commit comments