Timeline for Move player towards screen
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 7, 2022 at 15:44 | comment | added | michaeltintiuc | Thanks for your time, I'll go for a raycast solution until I stumble upon a mathematical solution to perspective transforms | |
Sep 7, 2022 at 6:57 | comment | added | PepeOjeda | hm, could you maybe post the code you are using? It seems to me like the concept should work, it could be an implementation bug. | |
Sep 6, 2022 at 18:55 | comment | added | michaeltintiuc | I gave your suggestion a try and indeed it creates an interesting optical illusion of a 90deg line towards bottom edge of the screen but in fact it's a vector pointing towards the camera. For the life of me I couldn't apply it to the player movement without utterly destroying everything | |
Sep 6, 2022 at 12:02 | comment | added | michaeltintiuc | Hi, thanks for your answer this was one of the things I've tried, but couldn't quite implement due to the depth, will give it one more chance though. I do believe that there might be a better approach with projection/view matrices | |
Sep 6, 2022 at 6:55 | history | answered | PepeOjeda | CC BY-SA 4.0 |