Sorry, we don't support your browser.  Install a modern browser

Attached object to card do not render when flipped#2004

V

edit : @mod : can be closed, it is due to “hide face down”

spawn a card
spawn a red cube above the card
attach the cube to the card (click the cube and drag the arrow to the card)
flip the combined object
the cube do not render (but collision is working)

see attached screenshot :
right : render after object has been flipped
left : ghost render of cloning action (before validating the clone creation)

a year ago

:S I think this might be intended with how cards work. When you flip the card the contents of the same are hidden. I can guess your issue is product of how cards work.

What are you trying to build that you need a card to be flipped with an attached object? You can try to do it with a token instead and if you want that to go to the hand just toggle that option on.

a year ago
V

I’m trying to create translucent sleeves with opaque areas
this should be thin as a card so token is not an option
I’d also would like it to pile like cards so it’s the best choice
I could have achieved that with sticker on a blank card with transparency (color tint) but transparency doesn”t apply to cards
so I created a card from a transparent png with some opaque area and also a scaled block (thin and size of the card) color tinted in white with transparency which I attached to my card…
it works very well but when I flip the card the attached block do not longer render and I only get a fully transparent card
it works the other way around (card attached to the block) but then I lose card behaviors
I don’t understand why this would be an intended card feature

a year ago

You can achieve a similar result using xml to obscure the parts of a card you want to hide. The only caveat is that the xml fails in the onscreen hands.

a year ago

Also if you create a custom object as the sleeve, with transparency where you want, you can turn off the collider on the sleeve, and put the card inside it. I use this mechanism in my star farers mod (under construction) to put marbles inside a semitransparent space ship. This is a scripting solution.

a year ago
V

thanks for your suggestion,
in fact attachement works very well for what I want to achieve except for the card piling if I attach card to block and for the flip card rendering if I attach block to card
I finally understood what induced this behavior : I just have to untick “hide face down” and everything render when flipped :)
but I discovered that while piling works, attachement do not show for the top card when piled…
xmlui doesn’t render in the search panel and when piled either
I’ve absolutely no skills in custom modeling and I’m curious about your mod but just same as my method with transparent block, I’ll lose piling card behavior (but it may work as coin stack)

a year ago
V

@mod : can be closed, it was due to “hide face down”

a year ago