Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
How do you make a football go through the air realisticlly?
Old
JAV3Champion
Junior Member
 
Status: Offline
Posts: 1
Join Date: Apr 2012
Location: Phoenix, Arizona
Default How do you make a football go through the air realisticlly? - 04-27-2012, 10:42 AM

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...
   
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 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.


(')>
   
Reply With Quote
Old
HorusLupercal
Junior Member
 
Status: Offline
Posts: 7
Join Date: Apr 2012
Location: Mwhahaha right.
Default 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.
   
Reply With Quote
Reply

Tags
flight, football

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



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