Jump to content

Iain Lenroy

Resident
  • Posts

    1
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. OK, ready to ask for help now... Bare bones is this: Imagine an object consisting of 5 Prims. One standard cube, four slim cylinders, let's say with a diameter of 0.1. In my script I need to form a pyramid out of these cylinders, centered around the root prim - the cube. Lets's say the pyramid has a width of 5 meters and is 5 meters high. (These dimensions may and will vary, and that 'pyramid' doesn't need to have a square base, this ist just a basic example.) The math is straightforward: take the triangle described by the center point of the pyramid's base (0,0, 0, the root of the link set), a cornerpoint (e.g. 2.5, 2.5, 0) and the tip of the pyramid (0, 0, 5). The resulting angle is 35 degrees + change. So I need to tilt my cylinder 35 degrees around the root's x-axis AND then 35 degrees around the y-axis. Doesn't work. I tried my best to learn about the rotation stuff in SL - only thing that rotates at high revs is my gray matter atm :D I'm lost... I'd be happy if someone could enlighten me!
×
×
  • Create New...