Fellows, I’m working with some 3D code and have arrived at a small nuisance of which my coding capacity cannot handle.
The question is the following; when the project is scrolled through, and after the appropriate distance and trigonometric angles are calculated using the vector created from when the iPad was touched and when released, the trails will then move appropriately. But the problem is that it takes an entire frame (or more) for it to move a little, and then in the entire next frame it clears. This means that it is flashing. When (if) I develop some game out of this, it would be difficult and rather frustrating to have flashing trails.
So I was thinking that if I could compress the clear and the draw all into one frame, where in that case the flashing could be potentially unnoticeable. It would be handy to know that the project is working at 62 FPS. However as the content accumulates, this may no longer be the case)
Not sure how to do this. If someone could explain, that would be neat. You don’t need to explain using 3D, because this issue concerns dynamic trail art rather than 3D.
(Also, does anyone have any good websites/videos on 3D? Any programming language/version will do. Preferably Scratch or unity because they closely resemble hopscotch)