valueerror Posted November 25, 2014 Share Posted November 25, 2014 i opened this thread because the title of the thread where i found this problem is misleading.. so sorry for the double post as you can see in the attached image the physics body of a fast moving sprite is sometimes far from directly below the sprite. this is usually not a problem but when i try to make another spirte follow the first sprite it will always follow the physicsbody which is at a different position this looks weird and renders the whole thing unusable.. in my case this should be a visual aid but if its pointing towards the wrong x and y coordinates it makes no sense Link to comment Share on other sites More sharing options...
valueerror Posted November 26, 2014 Author Share Posted November 26, 2014 so this is fixed in the newest dev branch.. thx to rich. the debug circle is now drawn underneath the sprite.. the other problem that the second sprite (the white rope) is still behind the sprite exactly one frame can be circumvented by using the states preRender() method to update it's position instead of the update() method. Link to comment Share on other sites More sharing options...
Recommended Posts