HeapsIO / heaps

Heaps : Haxe Game Framework
http://heaps.io
MIT License
3.19k stars 338 forks source link

fbx model render wrong #790

Open sonygod opened 4 years ago

sonygod commented 4 years ago

model

should be like

image

and heaps .

image

also unity

image

sonygod commented 4 years ago

woodshark.zip

neokeld commented 4 years ago

I've got a similar problem with blender to heaps.io

When i export FBX with blender, i have to choose : Path mode relative Transform > Apply scalings > FBX All

Maybe you have a similar option on Unity ?

sonygod commented 4 years ago

another model from unity

Level.zip

image

can be view in fbx viewer.

image

it's error in Hide

image

Yanrishatum commented 4 years ago

Is unity even capable of exporting Z-up FBX?

sonygod commented 4 years ago

@Yanrishatum no, it's Y-up, but unity editor will auto-convert to Y-UP.

neokeld commented 4 years ago

I've tried your woodshark and i reproduce the bug. I've imported it in Blender and exported it with :

ncannasse commented 3 years ago

Current rendering is better wrt Y-to-Z conversion, but still has some offsets in translations

image