|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Sorry to post twice in a row. I hope I'm not being annoying... :-) I'm just
really stuck, and I'm sure there's an easy answer, but I can't figure it out.
I have 1) a point in a mesh and 2) a user-defined object created at the origin.
I want to be able to orient the object perpendicular to the mesh surface at the
known point. I know the normal, but I cannot figure out to calculate the
rotation for the object. Can I use the normal to orient the object, or am I
just way off in figuring out how to do this?
Thank you!
~Angela Perry
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Sorry to post twice in a row. I hope I'm not being annoying... :-) I'm
> just
> really stuck, and I'm sure there's an easy answer, but I can't figure it
> out.
>
> I have 1) a point in a mesh and 2) a user-defined object created at the
> origin.
> I want to be able to orient the object perpendicular to the mesh surface
> at the
> known point. I know the normal, but I cannot figure out to calculate the
> rotation for the object. Can I use the normal to orient the object, or am
> I
> just way off in figuring out how to do this?
NP, post away =)
There are some macros for this sort of stuff in "transforms.inc",
like...
object { foo
Point_At_Trans(myNormal)
}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Tim Attwood" <tim### [at] comcastnet> wrote:
> There are some macros for this sort of stuff in "transforms.inc",
> like...
> object { foo
> Point_At_Trans(myNormal)
> }
That did it! And after looking at the math behind it, maybe it wasn't as easy as
I thought it would be... o_O
Thanks a bunch!
~Angela
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Angela nous illumina en ce 2008-07-19 23:01 -->
> Sorry to post twice in a row. I hope I'm not being annoying... :-) I'm just
> really stuck, and I'm sure there's an easy answer, but I can't figure it out.
>
>
> Thank you!
> ~Angela Perry
>
>
>
You're not anoying at all. Asking questions is the object of this board after all.
Also, asking one question per post the the recomended way.
--
Alain
-------------------------------------------------
Never frown, even when you are sad, because you never know who is falling in
love with your smile.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |