View Full Version : Anlge/Vector Problem

10 October 2005, 11:27 AM
i am currently writing a script for creating a forrest. my current problem is the alignment of the leaf-planes which i want to create at the end of the branches. i want them to point along the branch-vector (the direction the branch grew) and with one axis towards the camera. i was able to figure out about the alignment along the branch-vector: angleBetween -euler <<0,1,0>> <<branch-vector>>
but i really can't find out how the alignment towards the camera could work.

10 October 2005, 06:38 AM
sounds like an aim constraint will do the trick.

CGTalk Moderation
10 October 2005, 06:38 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.