3D Object with Sprite Img on Face will not display

0 favourites
  • 5 posts
From the Asset Store
2D fighting template based in the game that defined the fighting games genre.
  • I'm trying to use the image from a 2D sprite as the facing of a side on a 3D object.

    However, when I apply this using the appropriate action line, that side is suddenly blank, as if it was unchecked to be invisible. But it's the only one checked to be visible. I also tried to use both an action line in the Event Sheet and also in the 3D object Properties Bar to assign a simple sprite image to the one face of the 3D object. It still will not show up, making that face appear invisible in the process.

    WHAT is causing this?

    I have the 3D camera set to parallel with the layout and other than that, nothing out of the ordinary is going on. It's still that ONE side that has the 2D sprite pasted onto it that's blank when it should be visible.

    I have triple-checked that the correct side is referenced.

    EDIT: I discovered that I needed to have at least a single instance in the layout (or any layout?) in order for the sprite image to appear on one of the faces of the 3D object. I solved my own problem. I'm leaving the post up for others in case they face the same issue.

    ...now, I have to figure out how to get the transparent space in the original sprite image to appear transparent on the 3D object facing...

  • The 2D object you're using, it's separate from the 3D object, yes? Like an animation?

    Test it this way:

    1. Make sure the 2D object is on the layout (I know, I know, just do it)

    2. Make sure you have the correct 'face visibility' box checked and you have something in 'use object image for faces' and it's the right something.

    But again, if you're doing all this in an 'Object Repository' layout, make sure you also have the 2D image on the layout that you are using the 2D object in (aka the game layout) or it doesn't show up.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • dazedangels - Thank you, but that issue I got resolved as I noted in the EDIT portion of my post.

  • The object you want to apply the image texture from has to be on the same layout.

    Be aware though of having more than 1 image object on the layout, since you can't tell which instance is chosen when the face is applied manually.

    To overcome this issue, you can create a container with the 3d shape and the sprite / tiled background / 9 patch object.

    Like this, you can control animations and such at instance level.

    Regarding the transparency, the rendering impediments described in the manual / tutorial apply.

    https://www.construct.net/en/tutorials/using-3d-construct-2746

  • colonel Justice - Yeah, that's my conclusion, too. I reviewed both the manual and Ashley's tutorial entry on 3D and I'm of the mind that I just need to position my 3D camera above the layout as it originally starts. I'll have to test that out later...

    Thanks!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)