Skip to content

Commit

Permalink
fix position override too
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Ski committed Sep 20, 2024
1 parent 15cc4ad commit 95e5fab
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ public void applyAlpha (float alpha, float delta) {

temp.set(particleModule.getPositionOverride());
localPosition.add(temp);
worldPosition.set(localPosition).rotate(Vector3.Z, worldRotation).scl(worldScale.x);

} else {
final Vector3 drag = particleModule.getDrag();
Expand Down

0 comments on commit 95e5fab

Please sign in to comment.