Hello,
I'm working an a project to import some camera movement from a .txt containing data.
the txt contains : the coordinates of the camera and a target for every frame
I know how to create and make the camera and the object move at ever key frame ( I'm using the setKeyFrame function )
But know my problem is : how to set the camera target. I can't find anything on the Houdini/python documentation.
Do you have any idea/ any example of code ?
this is how I declare my camera and my target (which is a null object) :
g = hou.node('/obj').createNode('cam')
t = hou.node('/obj').createNode('null')
Thank you in advance !
Houdini / Pyhton how to set a target for a camera ?
1287 0 0- dimitri.dochy59
- Member
- 3 posts
- Joined: Nov. 2019
- Offline
-
- Quick Links