cube ramp?
Blitz3D Forums/Blitz3D Beginners Area/cube ramp?
| ||
how would I scale a cube into a small ramp with a 15 degree angle? any length would be fine, i'll just modify it later for the correct size. thanks! |
| ||
scaleentity cube,1,.1,10 turnentity cube,15,0,0 ??? |
| ||
turnentity cube,15,0,0 ??? That's not a ramp - its a rotated cube.You could do it by manipulating two top vertices to move one edge down. In all honesty its probably more sensible to create a 'wedge' mesh from scratch. Create a new mesh, add a surface to it, add vertices to the surface (you'll need six), then add polygons. |
| ||
Look at the example! http://www.blitzbasic.com/b3ddocs/command.php?name=CreateMesh&ref=3d_cat |
| ||
thanks for the help! |