Quantcast
Channel: Answers for "Check movedirection"
Browsing all 4 articles
Browse latest View live

Answer by Baste

The problem is that you're starting another instance of the coroutine on every frame. This means that you've got a bunch of updates of the newPos and oldPos variables all the time, which will cause a...

View Article



Answer by robertbu

As @Baste mentioned, there are significant problems with your current approach. But even if you get them fixed, there is a conceptual problem. Assuming you are checking each frame but are updating...

View Article

Answer by Baste

The problem is that you're starting another instance of the coroutine on every frame. This means that you've got a bunch of updates of the newPos and oldPos variables all the time, which will cause a...

View Article

Answer by robertbu

As @Baste mentioned, there are significant problems with your current approach. But even if you get them fixed, there is a conceptual problem. Assuming you are checking each frame but are updating...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>