Point At overrides Lock on rotation
3dOutlaw
Posts: 2,471
I was trying to get a plane "follow" a camera as it moved around, but without tilting.
So I turned the plane 90 degrees, and locked the X and Z rotation. So it's like a mirror standing on its edge, and this means it would only allow the plane to spin around on the Y rotation axis.
Problem is, it seems that "Point At" does not adhere to the "lock" rules, and the planes rotates all axis anyway?
I am just trying to get the plane to spin on the Y-Axis in the direction of the camera, but not "at" the camera. (i.e. don't tilt up/down)
Has anyone done this, or is there a way to actually lock down those rotational axis and use "point at"?
Comments
I'm not sure you can lock out all rotation like that with point at in use. I'll play a bit later and see what I find out for you.
Setting limits does lock the parameter, but it doesn't then allow enough play to follow much movement in the camera.
Using a script, or the Property Hierarchy and the Parameters pane in Edit mode, to add an ERC link works better but still not completely - I get roughly a half-circle of follow before the plane stops. I'm not sure if that's a bug or not.
It appears one of Casuals scripts can do this, thanks for the feedback!