coupons adderall malta weather forecast 15 days winter olympics 2010 opening ceremony satellite tv for pc elite edition kathy van zeeland handbags cigarette coupons bmx bike online game chicken laying word game mazda miata specs ebay india coupons famous hispanic people that are dead portfolio management metrics all inclusive caribbean vacations for singles motorola l6 driver software movies new releases in theaters cable modem router bathroom wall cabinets espresso pantyhose photo art formula song download free font background music for video presentation englander pellet stove problems apartments for rent in new york craigslist mitsubishi electric mr slim manual download free hairstyle software summer glau wallpaper sony psp repair guide bathroom medicine cabinets memory foam mattress 2007 kia sorento recalls swf games gratisan software kamera tembus pandang samsung telephones rolex oyster perpetual price roses are red violets are blue poems for mom suzuki samurai for sale in texas helmet decals graphics tattoo lettering styles alphabet mario land download free candy templates computer science resume internship bmw m3 2011 coupe easy homemade halloween costumes digimon adventure games playstation network games torrent leather clutch handbags bra size calculator animation jobs los angeles facebook emoticons monkey youtube belly debian linux download iso maximum ride art compaq presario c500 drivers for xp karastan carpeting reviews brenda song in bleach heat the download megaupload download movie caligula in zip format trucks for sale in panama city wedding invitation wording etiquette soccer games miniclip bathroom medicine cabinets with mirrors recessed sample certificate of dodge trucks parts catalog majong games free vertex programming software free download software for horoscope hyundai santa fe 2010 interior phoenix winphlash download dell keyboard troubleshoot jaguar xj6 parts catalog houston harvest gift products mitsubishi electric mr slim parts mattress world portland oregon football poster slogans download tense english urdu virtual dating games simulation diagnostic software samsung tv problems power strawberry shortcake costumes for adults plus size long range weather forecast butterfly fairy tattoo designs bathroom sinks and countertops nero smart free download rtl driver download samsung eternity games torrent summer olympics 2012 brazil dvd shrink cyclic redundancy check error presentation templates strip quiz games jizz movies really funny jokes one liners pant suits dressy famous poems about love and loss animation mentor rig torrent youtube raptor rollercoaster download hrvatska muzika bathroom vanity lights clearance toyota oem parts lookup female tattoo gallery pontiac firebird formula specs movie quotes from step brothers dino software famous people birthdays in february barbie song mazda5 2010 colors verizon ringback tones wedding songs first dance country suzuki sx4 sedan body kit to make a trojan horse free software pizza recipes for kids toyota parts replacement uk saturn sky hardtop boston shopping guide husqvarna chain saw samsung omnia 2 review computer parts wholesale distributors free download prave mobi melodije lotto 6 results mercedes benz scl600 video pc angel software valentine s gifts for boyfriend free unlock nokia with cable windows vista screensaver porsche careers usa skype for blackberry curve 8310 download chapter indonesian free christian powerpoint templates intimate love coupons dayton electric manufacturing company clothes over bros merchandise mitsubishi tv lamp replacement instructions guitar chords tabs hindi songs kia motors philippines price list replica breitling watches uk which juice cleans pennies best hyundai sonata spoiler logo maker download torrent download runescape autominer kawasaki small engine parts diagram louis replica shoes chrysler 300 commercial song sway free download full strip poker kawasaki oem parts fiche warcraft 4 wiki guitar chords tabs easy disney computer wallpaper resume templates microsoft office mac cingular gps tracking canon s90 review test wet t shirt thanksgiving desktop moving animations for websites free civil software free pinball download spanish dress satellite heart lyrics new moon soundtrack dvd shrink windows 7 64 bit funny wedding poems create your own basketball shoes online email providers canon 7d vs 5d mark ii cadillac cts for sale by owner male masterbation guide wheeled backpacks for college students marc ecko shoes photography jobs in florida removal of a mazda crankshaft pulley gamecube emulators for mac minivan mpg comparison cherry blossom tattoo erotic art gallory battery capacity tester mac rpg games freeware jacket patterns for kids online shirt design maker windows xp wallpapers izvorne mp3 download siding materials seattle motorola cable modem drivers for windows 7 girls pantsed and wedgied keyboard piano lessons for beginners pizza sauce recipe from scratch sony ericsson xperia x10 release date lemonade math game car auction ebay motors uk 4x4 nikon d3000 vs canon xsi mitsubishi outlander 2003 repair manual repair manuals for kenmore washers satellite phone providers in india objective resume career saturn vue 2003 transmission fluid jeep grand cherokee lift kits zj furniture factory outlet los angeles sony vaio recovery disk rapidshare lingerie wallpaper rolex serial numbers stolen gamecube cheats northwave snowboard boots size chart bathroom tile ideas images glass pipes for sale chevrolet trucks for sale in texas underwear for women photos pants off dance off fuse mazda 323 gtx for sale size wedding dresses amc movie coupons wireless bridges for sony tv toyota camry recall list toyota venza lease specials best ds games guy pantsing women summer heights high episode 1 megavideo sofa slipcovers cheap famous spanish people from spain wireless internet service providers in india hertz rental free online digimon games jeep grand cherokee accessories parts desktop destroyer 2 chicken carnage free canon powershot sx120 is manual sony playstation roms free download famous haiku poems by basho wallpaper abyss earth youtube malayalam movies free download caribbean cinemas 8 trinidad movie listing facebook login problems subaru forum forester dvd burning software reviews 2009 spongebob games guitar bar chords chart chrysler town and country commercial song 2009 lexus recall metro new phones famous quotes about change screensavers for mac snow leopard suzuki outboard parts diagrams bluetooth headset ps3 snowflake patterns printable auctioneer advanced tutorial famous black and white photographers and their works formal pant suits for weddings laminate sheets for countertops scientific atlanta cable modem skype emoticons pictures desktop destroyer for mac os x flowers by zoe wholesale leer truck samsung lcd tv parts suzuki samurai engine swaps hairstyles for long hair round face boots uk headquarters nikon d3000 best price smash flash dojo boots for women with skinny legs egyptian last names and meanings chair cushion covers design your own tattoo for free toyota camry parts and accessories pontiac g6 recalls sony vaio drivers for windows xp download travian famous hispanic artists nikon d90 vs canon 50d reviews playstation network store hack hairstyles for round faces and curly hair floor tile layout tool skype for macbook jeep grand cherokee 2011 open swiss bank account dodge aftermarket parts wholesale replica designer handbags china mitsubishi eclipse spyder jackets for petite women toyota tacoma lift kits free animated sex games discount coach handbags nintendo ds emulator for mac download house md season 6 huddy spoilers pizza dough without yeast download for backgammon kia sorento 2011 power repair jeep grand cherokee valentines wallpaper anchor subaru summer medical internships for high school students cheap replica designer handbags wholesale games unblocked handgun for bear protection subwoofer box calculators linux mint review take off bra games roses are red violets are blue poems dirty free lotto dream books hair colors for your skin tone quiz juicer pulp recipes winterbells 1337 pantyhose art my big teen movie porsche cayman for sale dubai download a skateboarding rolex submariner price 2009 hot hot video slots laminate floors home depot pizza hut nutrition info pdf kia sorento 2010 price bathroom wall paint ideas samsung glyde sync software spa days thompson manning wedding compaq presario v6000 drivers for xp download cdspace full version 2008 mazda 6 performance parts furniture warehouse los angeles printer ink refill office max porsche 928 gts for sale australia lowrider art drawings fantasy wallpaper toyota echo transmission fluid rpg maker xp resources pack cyrus bra pictures nanny jobs mattress king richmond va unique tattoo ideas for couples wedding dresses 2010 spring abby movies jeans on sale for juniors nail art gallery bathroom wall cabinets oak brande movies software development life cycle sdlc pdf windows xp desktop rearrange deepthroat movies canon rebel t1i price samsung impression a877 blue unlocked mazda 626 manuals tourism jobs in hawaii hyundai sonata 2009 problems pediatric nurse job description free format software youtube malayalam movies full samsung moment sprint accessories download pokemon porsche cayman used advantage disadvantages e business toyota floor mat recall pictures carrie prejean video download minivan ratings honda civic si for sale in nj avira antivir personal antivirus free xbox subscription codes rolex watches replica yiff flash game weekend fun quotes fashion jeans online printer ink warehouse small bathroom tile ideas photos dvd releases for this week blockbuster autotune online flash bicycle trainer reviews desktop performance for windows aero wives panties and bra rpg maker vx tutorial laminate mazda 626 timing belt change lolita nymph nude art pants off dance off unrated bathroom floor tile layout t shirt dresses plus size rolex daytona price uk basketball quotes by kobe bryant super party slot machine female 3d art jeep grand cherokee 2011 release stores with layaway online icebreaker games small groups printable questions newlywed game widescreen wallpaper bathroom ideas for decorating receiver hitch cargo carrier walmart linux distro comparison 2009 compaq nc6000 drivers ethernet controller box silverado subwoofer rpg maker vx download subwoofers for sale cheap plants vs zombies 2 game eastenders up game bad dog screensaver windows xp printable coupons for walmart electronics volkswagen jetta tdi wagon dish network remote codes panasonic top perfumes with pheromones hair games for girls english samsung moment battery life fix network crossover cable diagram bmw forums e39 equipment auctions ohio dvd shrink download windows 7 gamecube emulator roms torrent play free online slot tournaments pokemon silver game cheats trucks for sale by owner in texas boots for women with large calves gifts for her under 50 dollars valentine heart templates flash flash revolution game online cablevision optimum online speed student portal itt tech poker games free downloads common dodge caliber problems wow addons cartographer 3 tones for nextel phones soccer jerseys wholesale jeep identification free bike stickers drs foster and smith coupon free antivirus removal dodgeball team names funny compaq laptops prices in dubai mercedes benz used parts los angeles nfl power rankings 2010 espn personal assistant job description mitsubishi tv repair manual marriage counseling online free screensaver software porsche cayman caribbean cruise line scam wedding dresses vera wang love dating sims for boys cheats dawnload gta san car mods reel king slots feature cheats mew mew youtube 1970 opel gt specs download pokemon red rom summer internships for college freshmen mitsubishi eclipse spyder convertible parts virtual surgery games jeep liberty accessories limewire basic for mac tiger porsche boxster hardtop conversion remodeling basement stairs autominer download perfume factory outlet niagara on the lake volkswagen liverpool 2010 gmc acadia problems subaru impreza wrx wagon for sale christian marriage quotes and sayings multilanguage microsoft office download build own letterman jacket bathroom mirrors with lights cruises from charleston sc in 2010 cheap laptop skins for gateway karen strip blackjack siding square calculator wow cataclysm beta server furniture liquidators hp c5280 software download confirmation clip art and borders lottery results mcafee free antivirus snowbird snow report and arrow games motorola driver hp compaq nc6000 drivers free download bathroom wall decorating ideas samsung sgh a737 minivan rentals printer drivers lexmark x2600 download muzika za compaq evo drivers vga motorola w175 funny jokes for adults cable modem speed test time warner download for windows xp jar creator using mobile cpu fan controller software compaq 110c netbook review rolex replica swiss made free self hypnosis download mitsubishi lancer forum singapore dare devil download mp3 free floor sample furniture sale nyc software architecture in practice download dvd43 for mac download vire sample marketing backpacks for school at target suzuki m50 boulevard famous poems about life lessons toyota 4runner parts list wallpaper woman subaru forester accessories mazda cx gps maps for blackberry curve view free movies online serial numbers guitar tuner microphone online replica handbags wholesale in new york toyota vitz rs lg software mercedes guardian pictures famous people who died in 2009 wiki cable modem splitters free sonicstage software for sony nw e003f opel astra 2010 review furniture warehouse sarasota fl download jeopardy theme auran download station mitsubishi air conditioners prices free no download mmorpg metro furniture warehouse nashville tn small bathroom renovation ideas sherwood rpg tattoo ideas for men shoulder


12. Animation using Tweener

**Update
This tutorial has been updated using TweenLite and the most recent papervision BasicView class.
view-update

Hi,

In this tutorial we're going to use Tweener to move a cube around. This will teach you basics of animation, and how to use Tweener (which is awesome).

The example that I've produced is this:

So, in this example our solid red cube is trying to stay inside our green wireframe cube. Every time the red cube gets itself positioned completley inside the green cube, the green cube moves.

Tweener is the package which is smoothly moving the red cube around. The Tweener package is also firing the event to move the green cube when the tween is complete.

1: To start off, you'll need Tweener. You can download it here if you don't already have it: http://code.google.com/p/tweener/

Once you've got tweener, either add the source directory containing the "caurina" folder to your project's classpaths, or add the caurina folder into your current project.

2: Import tweener - Add this line to your imports:

import caurina.transitions.Tweener;

3: Add a Tween. You can add tweens to any parameter of any object. The Tweener package will gradually change any parameter in your code to a new value over time, so only numeric values will work nicely. Anyway, you can read a load more about tweener at the google code page above.

To add a tween, we use the code

Tweener.addTween(object, {parameter1: value, parameter2: value2, time: X, 
transition:"transition", onComplete: functionname});

This may look a little bit confusing at first, but it's really simple. Let's show you a real example..

Tweener.addTween(cube, { x: 1000, z: 500, time: 2, onComplete: randomize } );

The line above will add a tween. This tween will change the values "x" and "y" on the object "cube" to 1000 and 500 respectively. It will smoothly change the values over a period of 2 seconds and once the tween is complete and the cube.x is 1000 and cube.y is 500, it will trigger the "randomize" function.

Experiment with more ways to tween your objects. You can apply tweens to anything, including cameras, lights, rotations, sizes and camera zooms. Any numerical value you can think of.

Here is my source code (Uses latest version of my base class):

Actionscript:
  1. package 
  2. {
  3.      import org.papervision3d.lights.PointLight3D;
  4.      import org.papervision3d.materials.shadematerials.FlatShadeMaterial;
  5.      import org.papervision3d.materials.utils.MaterialsList;
  6.      import org.papervision3d.materials.WireframeMaterial;
  7.      import org.papervision3d.objects.primitives.Cube;
  8.      import org.papervision3d.objects.primitives.Plane;
  9.  
  10.      import caurina.transitions.Tweener;
  11.  
  12.      public class Main extends PaperBase
  13.      {
  14.           private var cube:Cube;
  15.           private var cube2:Cube;
  16.           private var mat:FlatShadeMaterial = new FlatShadeMaterial(new PointLight3D(), 0xFFFFFF, 0xFF0000);
  17.           private var mat2:WireframeMaterial = new WireframeMaterial(0x00FF00);
  18.           private var plane:Plane = new Plane(null, 2000, 2000, 10, 10);
  19.  
  20.           public function Main()
  21.           {
  22.                init(600, 300);
  23.           }
  24.  
  25.           override protected function init3d():void
  26.           {
  27.                cube = new Cube(new MaterialsList( { all: mat } ), 100, 100, 100);
  28.                cube.y = 0;
  29.                cube2 = new Cube(new MaterialsList( { all: mat2 } ), 100, 100, 100);
  30.                cube2.y = 0;
  31.                cube2.x = 1000;
  32.                cube2.z = 1000;
  33.                plane.material.lineColor = 0x777777;
  34.                plane.material.doubleSided = true;
  35.                plane.pitch(90);
  36.                plane.y = -50;
  37.                default_scene.addChild(plane);
  38.                default_scene.addChild(cube);
  39.                default_scene.addChild(cube2);
  40.                Tweener.addTween(cube, { x:1000, z:1000, time:2, onComplete: randomize } );
  41.                default_camera.x = 0;
  42.                default_camera.z = 1000;
  43.                default_camera.y = 1000;
  44.           }
  45.  
  46.           public function randomize():void
  47.           {
  48.                var xp:Number = (Math.random() * 2000) - 1000;
  49.                var yp:Number = (Math.random() * 2000) - 1000;
  50.                Tweener.addTween(cube, { x:xp, z:yp, time:2, onComplete: randomize } );
  51.                cube2.x = xp;
  52.                cube2.z = yp;
  53.           }
  54.  
  55.           override protected function processFrame():void
  56.           {
  57.                default_camera.lookAt(cube);
  58.           }
  59.      }
  60. }

Post to Twitter Post to Delicious Delicious Post to Digg Digg This Post Post to Facebook Facebook Post to StumbleUpon Stumble This Post

31 Responses to “12. Animation using Tweener”


  • hi there
    did every tutorial on ur site to learn how papervision works. very interesting – thanks for your good work.
    today I played a bit with tweening functions – its really easy to combinate. you can change almost everything during a tween.
    the nicest parameters to change are materialparameters.
    f.ex:
    Tweener.addTween(“whatever”.material, { fillAlpha: 0.5, time:1 } );
    looks that smooth :-)
    greets

  • hi there,

    can you post the source for all necessary files for each tutorial?

    my camera perspective isn’t changing (like yours is). i think it’s related to a changed i missed in my PaperBase class?

    cheers,
    mark

  • Thx for your tutorials !

    But unfortunately this one must have something missing or some…?
    From your code the Plane doesn’t move, and the cubes are not on the plane.

    Take care.

  • Hi,

    Thanks for the comments!

    @Mark, You can download the most recent base class from the sidebar.. The problem is, you need to change all the references to “Camera3D” to “FreeCamera3D”..

    @ohm, The plane isn’t supposed to move :).. Maybe you’re having the same camera problem as Mark, if not then I’m not sure what the problem is..

    -Luke

  • Hi,
    Really Nice Tutorial.
    Great

  • Very nice tutorial, keep on the good work.

  • Thanks a lot for sharing your knowledge. These tuts are the most didactic i have found so far
    and they really deserve the name ‘tutorial’.(A lot of so called tutorials i have found
    about Papervision were just a bunch of code and eventually a reference to an expensive
    workshop) Good job!!

  • I cant see anything when I publish my file. I dont get any errors, but I dont understand wht I am doign wrong…NOOB
    do you need my code to help?

  • Hi,

    Quick question. How do I apply a blend mode to an object in the scene, or if it’s easier thee whole scene?

    I’ve stuck this near the top “import flash.display.BlendMode;” and I’ve tried variations on “cube.blendMode = “MULTIPLY”;” everywhere, but no joy.

    Found an example somewhere else doing it, but the code was hardcore and I gave up. Thought you might have a simpler method?

    Thanks, pv

  • i’m getting Viewport3D and BasicRenderEngine errors. The import org.papervision3d.render.BasicRenderEngine; and org.papervision3d.view.Viewport3D; lines in PaperBase.as don’t exist in the org directory. am I doing something wrong? actually, more precisely, WHAT am i doing wrong??? ;)

  • doh! downloaded the wrong pv version, now i get ambiguous references to vertex3D. today is not going well :(

  • I have followed the tutorial , everything works fine exept the default_camera.lookAt(cube) that seems not to be interpreted.. the camera doesn’t move. I don’t know what can be the reason :-(

  • hey luke, great tuts – espically the complex collada and tweener animations – though i’ve got a question that
    you might be able to answer regarding pprvision….

    following your tuts – i’ve done a little scene in which everything works fine –
    when testing the movie/swf from flash it looks great – one prob

    when uploaded onto the web and into a web page (via the swfobject.js – which you seem to be using aswell)
    none of the collada models appear- -only the superficial 2d _mc’s/graphics appear (which would be normally be infront..)

    i’ve even uploaded all the accompanying files (all the bitmaps and .dae and .fla .as files) to see if that would work
    which it still doesn’t :(

    shouldn’t the swf be self contained – and run without referencing the actionscript/greatwhite classes all the time…

    cheers – any help would be useful
    i wouldn’t of normally posted this here – but i can’t seem to access your forums..

    , alex

    (if you wanted to examine them – here are all the files)
    http://www.achmedthesnake.com/idm/

  • hey Luke,
    big thanx for great tutorial!
    you led me to the first dive into papervision.

  • Thx Luke for your tuts !
    I’m having a problem tho figuring out how can one add 2d objects over the 3d scene
    overriding your init2d (make a simple hud display with a square, for instance)?
    Anyone can help ?

  • when will you upload more tutorials ??

    you are great at explaining stuff so simple to understand!

    please keep it up!

  • Nice tweener. Is there any twister???

    Luck, why do the .swf that u show here is black background color but mine is white background color?

  • Downloaded everything from the http://papervision3d.googlecode.com/svn/trunk/branches/GreatWhite/src/ directory today.
    Downloaded the latest version of your PaperBase class.

    But I just can’t make it work. I get this error when I try to export movie:
    1020: Method marked override must override another method.

    Can you help with this one? Cheers.

  • I found the solution for the erros on the previous post. It was posted by Nik and Ralph Hauwert at http://theflashblog.com/?p=360.

    Just make sure you’re not running two versions of Papervision 3D. In Flash IDE go to Edit > Preferences > ActionScript > ActionScript 3.0 Settings… and check if you have any older versions of Papervision 3D in your Classpath.

  • There is a discrepancy between my version and yours. The camera (zoom?) is different. Could you tell us what you did to change the zoom? I futzed with the camera.zoom prop and that worked but I don’t know if there is some other property that’s better to use.

    awesome and thank you.

  • Ah, I didn’t have the current versions of PaperBase. Because of this I was using a Camera3D instead of a FreeCamera3D. Interestingly, these two cameras have differing default values for zoom. Camera3D.zoom = 11; FreeCamera3D.zoom = 2;

  • Hey Luke. Great tutorials! Can I put the tweener on a camera? I use the mouse to move the camera and would like to have a nice tweener on the camera.

  • dear friends. i´ve made this experiment, and i was wondering how big can a viewport be, and can it affect the processing. the bigger it is the more processing it takes?…

    this has 10 planes. so the height its about 2600… but i cant make a scroll intro it. if i do, the 1st plane appears in the center…

    any sugguestion?

    http://www.andrevenancio.com/teste2/

    venancio.andre@gmail.com
    drop me an email.

  • Hi Luke, i´m brazillian and i’ve following your tutorials for my tests with papervision. It helped me a lot! Now i will create my own blog and i had the idea to translate your tutorials to portuguese because i couldn’t find this type of content about papervision (with quality) in my language. Of course that i will put references to your blog/website and keep always clear for my readers that you are the author of this translated articles in each post that i make with your content.

    I had this idea because i pretend to write about flash in my blog and post my own samples with papervision too.

    What do you think about it? Is it ok for you?

    Thanks!

  • Hi Luke, i´m brazillian and i’ve following your tutorials for my
    tests with papervision. It helped me a lot! Now i will create my own
    blog and i had the idea to translate your tutorials to portuguese
    because i couldn’t find this type of content about papervision (with
    quality) in my language. Of course that i will put references to your
    blog/website and keep always clear for my readers that you are the
    author of this translated articles in each post that i make with your
    content.

    I had this idea because i pretend to write about flash in my blog and post my own samples with papervision too.

    What do you think about it? Is it ok for you?
    Thanks!

  • Thanks so much for putting together these wonderful tutorials. Gave me a great headstart.

  • Hi

    This is again a great tuturial. I went through them all and have learn a great deal. Thank you very much.
    I also speak french and I wonder if you would allow me to translate this excellent tuturial in french.
    I think you work deserves exposure. I wonder how I would handle the questions thought. Your reply is appreciate.

    About the camera you suggestion to mark is tu change the base class as follows:
    …@Mark, You can download the most recent base class from the sidebar.. The problem is, you need to change all the references to “Camera3D” to “FreeCamera3D”..

    I did not find the ..sidebar.. you talk about, but I did changed the PaperBase class default camera to FreeCamera3D from the camera3D. It did work.

    But going back to previous tuturial like the cow tuturial it now have a rather funny camera zooming effect.

    So I have tried the a different approach successfully by creating a new camera:
    import org.papervision3d.cameras.FreeCamera3D;// import FreeCamera3D
    then in main class declare it:
    public var camera:FreeCamera3D; //make it available
    in override protected function init3d() replacing the default_camera by the camera and declare it as current-camera:
    camera = new FreeCamera3D(); // create the object
    camera.x = 0; // assign starting position
    camera.z = 1000;
    camera.y = 1000;
    current_camera = camera; // make that camera current
    finaly replacing the defaul_camera as follows in override protected function processFrame():void{
    current_camera.lookAt(cube); // make the current camera always looking at the cube

    Only a thought.
    Anyway this was realy fun! Keep it up.
    In your long list of to do I hope papervision3D usage with Blender import is in the list. http://www.rozengain.com/blog/2008/01/02/export-your-blender-objects-straight-to-away3d-papervision3d-and-sandy/

  • Many thanx for these tutorials Luc. I did them all two day’s. I hope more tuts following. Your tuts are very well commented and a plus for the papervision fans…….. cheers :)

  • Insert this in the process frame function, some fun you can have with the dafault camera:

    default_camera.copyTransform(cube.transform);
    default_camera.transformView();
    default_camera.moveBackward(800);
    default_camera.moveUp(100);

  • Thanks for everything here, when you get a sec the source files for all the tutorials would really be nice.

  • You can work with Camera3D, you just have to adjust plane to have the same example as this one. When you define plane properties, just add:
    plane.roll( 90 );

Leave a Reply


Follow papervision2 on Twitter

Flash and the City banner
2010 Flash And The City Speaker

RSS Feed