
+1
Answered
LookAt (Y axis only)
Hi,
I'm working on a flow graph that instructs a gameObject to rotate on it's Y axis and look at the camera. I have something working but it's not the best. Firstly I use Transform.LootAt (Target) which changes all axes, then I reset the X and Z back to 0.
Can anybody suggest the correct way to do this?
Many thanks in advance
Andy
Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Customer support service by UserEcho
Smooth look at
Download Macro: LookAt.asset
Thanks Quacklin for such a fast response. Works perfectly!
Many thanks