britzl / defold-orthographic

Orthographic camera functionality for the Defold game engine
MIT License
164 stars 18 forks source link

screen_to_world return a z value of 1 #34

Closed gianmichelemariani closed 3 years ago

gianmichelemariani commented 3 years ago

Just trying out the module. It seems that the vector returned by screen_to_world has a z value of 1 (instead of the 0 passed). Is this correct behaviour?

Screenshot 2020-12-10 at 16 06 54
britzl commented 3 years ago

Hmm no, that doesn't sound right. It should respect the value you pass in.