sprite-like behaviour

   2622   2   1
User Avatar
Member
29 posts
Joined: Sept. 2007
Offline
Hi!
Am trying to link, or reference, the rotation of the (current) camera to have certain objects face it. I was trying to put
fit01(“/obj/cam3_null/ry” , 0, 360)
in the Ry field of an xForm attached to my primitive groups while having $CEX, $CEY and $CEZ in the Px, Py and Pz fields, yet it doesn't seem to be the right way.
Any ideas most welcome, superthanks!
Gon
User Avatar
Member
7767 posts
Joined: July 2005
Offline
Put the camera's path into the Look At parameter of the object you want looking at the camera. You object should be modeled so that it's facing in the -Z axis direction.
User Avatar
Member
29 posts
Joined: Sept. 2007
Offline
thread redirected to the ‘general discussion’ section (excuses for double posting issue):
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=12865&start=0&postdays=0&postorder=asc&highlight= [sidefx.com]
  • Quick Links