I'm currently working on a game where a ball bounces and falls into a randomly placed bin. I'm wondering if there's a way for the ball to jump and land based on the dynamic coordinates of the bin. If I have knowledge of the direction and distance to the bin, how can I animate the ball in a way that makes it appear as though it's falling into the bin? In Three.js, this was accomplished by adjusting position.x, position.y, and position.z. How can I achieve a similar effect in phoria.js?
Additionally, I'm interested in improving the rendering speed. Is there a method for increasing the rendering performance?