Jump to content

constraining targets in X-Z plane


edub
 Share

Recommended Posts

I want to use image mapped planes of people that always face to camera. If I apply a target tag to the plane and make the camera the target object the plane tilts out of the X-Z plane.

 

How can I constrain the plane to the X-Z plane, so it only rotates in the Y-axis.

 

Hope I explained that well enough. Thanks.

 

-Erik

Link to comment
Share on other sites

I've done this before... what you need to do is create a dummy object centered on the plane. Then link the plane to the dummy object. Have the plane only inherit the x and z rotation of the dummy. Assign the lookat controller to the dummy to follow the camera and you're done.

 

It's been a while, but I think that will do it.

-Dave

 

Got3d.com

Link to comment
Share on other sites

well, I solved my own problem - and it was really easy (once I dug through the manual!!)

 

I used the "Look at camera" tag (duh).. not the target tag. Deselecting the "change pitch rotation" option constrains the X-Z plane

Link to comment
Share on other sites

Next obvious question--how to have the plane only get x and z rotation control from its Null?

 

Try this thread for a discussion about this subject and a Look at Sun expression I created to point an invisible image plane toward the sun (to cast the shadow) while the "Look at Camera" tag points the visible image toward the camera.

 

I hope you find this useful.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...