Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llSensor down positive y axis

Alphazero Sugar
Noob Tube
Join date: 24 Mar 2005
Posts: 60
04-02-2006 17:03
Howdy,

Is there a way to get llSensor to look down the positive y-axis?
Or anything other than positive x?

Gracias,
Alphazero
Alphazero Sugar
Noob Tube
Join date: 24 Mar 2005
Posts: 60
04-03-2006 00:17
Whoop, I figured it out.

This might be well known already, but if you want your creature
to have its local coordinate system point down a particular axis,
have the root prim, that is, the last prim you select when linking
the whole thing together, oriented toward that axis.

So, in my case, to get llSensor to work down the x-axis and have
that match the front of the creature, I set the rotation of the root
prim to <0, 0, 0> while the creature itself points down the positive
x-axis.