Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Teaching with Alice (http://www.alice.org/community/forumdisplay.php?f=25)
-   -   Make a lightning bolt hit an object (http://www.alice.org/community/showthread.php?t=670)

ottosparks 03-08-2007 02:40 PM

Make a lightning bolt hit an object
 
-------------------------------Alice Help 1--------------------------------
Alice Help 1:
How to Make a Lightning Bolt Shoot an Object
By: ottosparks

Required Objects:
Cloud, Object Wanted To Cast Bolt, & Object Going To Get Hit.

Instructions:
1. Get Required Objects
2. Put Cloud In Air
3. Create A Method
4. Put The Following In The Method:
{- Object Wanted To Cast -.-Right or Left –arm} [Roll 0.25 meters left/right]
{Cloud. Lightning} [Move to – object wanted to get hit -]
{Cloud. Lightning}[Move to {cloud}]
{Cloud. Lightning}[Move down (5) meters]
[FONT="Impact"]5. Complete.[/FONT]

[I]-Ottosparks[/I]

SimonJonesHS 03-05-2012 02:17 AM

Thanks for the concise tutorial Ottosparks, I have been trying it out on my own and not having much success until I found your tutorial. Will definitely be playing around with it a little more when the weekend swings around.

chickentree 01-30-2013 05:09 PM

Where it hits
 
The bolt always hits the object's center which may not always be the most, ah, gratifying. On those occasions I have passed in either a different part of the object, or a dummy object whose vehicle is the thing I want to hit to the method.

Mark


All times are GMT -5. The time now is 12:46 AM.

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