question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TransformStatic , update rotation Reset skew , scale , why ?

See original GitHub issue

hi guy, am trying to make a simple easing loop animation. I need pass a obj, with propreties. i pass the TransformStatic

How i can perform correctly and update skew, scale, and rotation. Rotation seem to always reset my transform!, maybe am not understand correctly how this work. thank for help

sans-titre-1

what i need to do it, something like this

this._cx = newValur;
this._cy = newValur;
this._sy = newValur;
this._rotation = newValur; // not work when upd localID!?
this._localID++; // this seem to update all transform but not the rotation
// so 
this.rotation = newValur;
//!!! ho, rotation reset all data transform!! why and how fixe this

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
ivanpopelyshevcommented, Jan 15, 2018

Looks good, i can help with it 😃

1reaction
ivanpopelyshevcommented, Jan 15, 2018

I dont get it. The issue is obfuscated, please make a fiddle without RMMV, just vanilla pixi, tweens and one AnimatedSprite.

I would debug your game directly if I had time, but unfortunately I’m too busy with v5.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TransformStatic , update rotation Reset skew , scale , why
When someone changes rotation it automatically calls updateSkew() without any update ids. All reactions.
Read more >
TransformStatic , update rotation Reset skew , scale , why ? PIXI ...
So, i pass the TransformStatic scope. How i can perform correctly and update skew, scale, and rotation. Rotation seem to always reset my...
Read more >
Keep mesh rotation but reset rotation value to 0
Select your object and CTRL - A > Rotation .
Read more >
Why does order of transforms matter? rotate/scale doesn't give ...
When we have a user coordinate system that is already scaled, and we apply a rotate to it, the rectangle is (as seen)...
Read more >
CanvasRenderingContext2D.resetTransform() - Web APIs
This example draws a rotated rectangle after modifying the matrix, and then resets the matrix using the resetTransform() method.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found