Recent content by mariano_donat
-
M
Undergrad Equations to model tennis ball motion
For now, I was neglecting air resistance + Magnus force to keep things simple. Equations are right, it's just that I don't seem to be able to find those taking into account ball's current velocity. All of them act from the perspective of "launching" a projectile in rest. I've been watching...- mariano_donat
- Post #3
- Forum: Mechanics
-
M
Undergrad Equations to model tennis ball motion
I'm creating a tennis game and at this point I'm trying to model ball motion. I found multiple lectures on projectiles equations of motion which seem to apply well for when ball is not moving, but they do not take into account the velocity may have at the time of impact. For example, I found a...- mariano_donat
- Thread
- Ball Model Motion Tennis
- Replies: 2
- Forum: Mechanics
-
M
Undergrad Calculate point in ellipse given a unit vector
I apologize for that, it's a and b from that equation, ellipseRadius.x = a and ellipseRadius.y = b.- mariano_donat
- Post #3
- Forum: General Math
-
M
Undergrad Cutting a rectangle with straight lines
Your post was so inspiring for me, thank you very much! I just wanted to thank once more time and show you where I had to apply this Thank you very much, again.- mariano_donat
- Post #6
- Forum: General Math
-
M
Undergrad Calculate point in ellipse given a unit vector
Hi to everyone. I'm detecting collision between two ellipses. I've got my unit vector, my ellipse center and radius (horizontal and vertical). I want to calculate the point that lies in the ellipse on the direction of the unit vector. See the image attached. Suppose the red arrow is my unit...- mariano_donat
- Thread
- Ellipse Point Unit Unit vector Vector
- Replies: 3
- Forum: General Math
-
M
Undergrad Cutting a rectangle with straight lines
I apologize, I couldn't get back any sooner to write the reply to your post as I wanted. Thank you very much for your response, I followed a different approach, but it was very inspiring! The two most important points are x1 and x5. Fortunately my game required to keep track of adjacent...- mariano_donat
- Post #5
- Forum: General Math
-
M
Undergrad Cutting a rectangle with straight lines
I'm actually envisioning two polygons, not rectangles, I apologize. Note that Xs points are arbitrary. The user can draw these points however he/she wants. So, the output for this example would be two polygons: P1 = {X1, X2, X3, X4, X5, C, D, A} P2 = {X1, B, X5, X4, X3, X2} I'm just...- mariano_donat
- Post #3
- Forum: General Math
-
M
Undergrad Cutting a rectangle with straight lines
Hi to everyone. I'm developing a puzzle game which involves some concepts of geometry. Suppose you have a rectangle formed by points A, B, C and D. Now, I add points X1 (lies on line AB), X2 (inside the rectangle) and X3 (lies on line AC). I'd like the output to be the two rectangles...- mariano_donat
- Thread
- Cutting Lines Rectangle straight lines
- Replies: 6
- Forum: General Math