Vectors, Normals?

Blitz3D Forums/Blitz3D Beginners Area/Vectors, Normals?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Great answers, guys!! I was wondering, myself.

So, maybe you can help with a follow-up question related to this point. I want to create a 3d object, a dodecahedron (a 20-sided die like those used in lots of role-playing games). Suppose, once I have my 3d dodecahedron, I want to select one of the sides (ie a pentagon shape). Then, I want to cause a cube or cone to be attached to that side. The default positions of CreateCube() and CreateCone() is at 0,0,0. How can I cause the new object to use the "flat" of the selected surface to be the default surface that the new object is to be attached to, thus the new object is of the same vector/normal as the surface being used as the base for the new object (ie perpendicular to the selected surface)? Is that making sense?