The Look At component can be used to make an object, the Rotating Target, always face towards another object, the Look At Target.
The Look At component is commonly used to create NPCs or hazards that track the player character but can be used in any situation where you want something in your Hype to face a certain direction based on the position of another object.
|Rotating Target||The target object that will “look at” the other target.|
|Look At Target||The target object that will be “looked at” by the other target.|
|Execute||Executes the component.|
|On Start||Executes the component at the start of the Hype.|
|Always||Executes the component on each frame.|
|Enabled||Determines if the component is executable.|
|Affect Physical||Determines if the movement includes the objects physical form.|
|Local Rotate||Determines if the Rotating Target uses its local or global transform.|
|Free Rotate||Determines if the Rotating Target should rotate on a single axis or freely on all 3 axis.|
|Speed||Set how quickly the Rotating Target will follow the Look At Target.|
|Dampening||Dampens the movement of the Rotating Target.|