FlokiTV Posted May 1, 2021 Share Posted May 1, 2021 Hello guys, I'm new here and new on PixiJS too. I made with html and some js this: https://codepen.io/FlokiTV/pen/WNRedMd I'm trying to learn Pixi.. how i make transform: translate3d() from css on pixi? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted May 2, 2021 Share Posted May 2, 2021 (edited) that's the usual 4x3 matrix in 3d, pixi doesnt have it. Emulation is possible , like here: https://pixijs.io/examples/#/plugin-projection/iso-basic.js To do that thing you have to 1. Know how pixijs transforms work. completely. all fields. position,scale,rotation,skew, whatever. 2. Know usual 3d math for basic translation/rotation 3. maybe experiment with pixi-projection or pixi-3d plugins. So, its not exactly newbie material. However you can do it easily if you know how other 2d/3d renderers work internally, pixi is not far behind, its just doesnt have public API for isometric 3d Alternatively: put a bounty out for that feature on https://github.com/pixijs/pixi.js/discussions , like "support spritestack format" Edited May 2, 2021 by ivan.popelyshev Quote Link to comment Share on other sites More sharing options...
FlokiTV Posted May 6, 2021 Author Share Posted May 6, 2021 https://codepen.io/FlokiTV/full/JjWPeRV Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.