Jump to content

Recommended Posts

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?

Link to post
Share on other sites

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 by ivan.popelyshev
Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...