ScratchData LogoScratchData
Back to chalkmarrow's profile

3D Projectile

CHchalkmarrow•Created January 24, 2008
3D Projectile
99
93
2606 views
View on Scratch

Description

This is a basic 3D projectile project that might be useful for those who want to make a 3D cannon game. Change "v0" to control initial speed, change angle to change how high the projectile fires (0-90 degrees), and change angle_lateral to change how far right or left it fires. I've put two simple targets to shoot at. Place your mouse over the target to see how far it is away (in the z direction, into the screen). Note that if you want to make your own targets, just change the x3d, y3d, and z3d variables: the sprite itself constantly maps itself to the correct 2d coordinates using one-point perspective equations. That is, each sprite believes it is in real 3d space.

Project Details

Project ID86430
CreatedJanuary 24, 2008
Last ModifiedJanuary 24, 2008
SharedJanuary 24, 2008
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root