Makes a GameObject face a target along a parallel axis.
This is primarily used to make a sprite (a flat "billboard" with a texture) face a camera so that it doesn't distort as the camera moves and rotates. This is different from a regular LookAt Constraint because the LookAt constraint will look directly at a position in space which would not make a sprite face a camera perfectly.
- Target
- The object which the constrained object will face. If left blank this will default to the main camera.
- Mode
- (See Documentation)
- No Target Mode
- (See Documentation)
- Point Axis
- (See LookAt Constraint)
- Up Axis
- (See LookAt Constraint)
- Vertical
- If you turn this off, the constrained object will no longer billboard vertically (it will only rotate along the Up Axis). This is great for objects which shouldn't lean over, such as trees and bushes.
|
|