Re-orienting particle normals

   1852   2   2
User Avatar
Member
28 posts
Joined: Dec. 2012
Offline
Hi, another newbie question:

How can I orient points (and thus the geo that is copied onto it) so that they're always pointing ‘up’, while still facing in their direction of movement? Like people walking up a hill - they're facing in the direciton they're walking, but they're always vertical, not perpendicular to the hill's surface.
I've been flailing about trying to rotate normals for a few hours now - I'm sure its some basic maths which is lost on me.

Attached is a scene illustrating my problem (some may recognise it ) - help as always is greatly appreciated!

Attachments:
pointOrientationHelp.hip (197.0 KB)

User Avatar
Member
1529 posts
Joined: July 2005
Offline
Easiest thing you can do is set the y-component of your V attribute to 0.

In the longer terms, read this excellent post:

https://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=6679 [sidefx.com]

Cheers,

G
User Avatar
Member
28 posts
Joined: Dec. 2012
Offline
Wow, even easier than I thought it might be! Both short and long answers much appreciated. Many thanks
  • Quick Links