Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   How do you make a football go through the air realisticlly? (http://www.alice.org/community/showthread.php?t=8433)

JAV3Champion 04-27-2012 10:42 AM

How do you make a football go through the air realisticlly?
 
im makeing a field goal kicking game but im still trying to figure out how to make the football turn forward while goin through the air in a parabolic pathway...:confused:

x2495iiii 04-27-2012 10:57 AM

Make a new move forward method for the football.

Place an invisible object at the point where the football starts to travel, and turn it to face the direction you want the football to go.

Change the moving-forward method's "asSeenBy" property to the invisible object.

Make two new methods, one of the football moving up, and one of the football moving down. Set their durations to half of the duration used for the moving-forward method. Then change both of their "asSeenBy" properties to the ground.

Put the two new methods in a "do in order" box, then put the "do in order" box in a "do together" box. Then put the moving-forward method in the "do together" box.

Change the style of the moving-up method to "end gently", and the style of the moving down method to "begin gently".

Add any turns or rolls you think are needed to the "do together" box. Set their styles to "end gently" for extra realism.

HorusLupercal 04-30-2012 04:17 PM

Just curious as I've only recently started using Alice, but what is the significance for having a different asSeenBy for the forward and up/down motions? Does that create a more parabolic effect or a smoother transition for the apex of the arc? I've noticed in my own program with arcing, jumping models that the apex/transition between the up and down motion is a bit jerky.


All times are GMT -5. The time now is 10:00 PM.

Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.