BaseBehavior.GetRotationToPositionInMainThread(IMonitorLogger,Vector3) Method
Namespace: SymOntoClay.UnityAsset.BaseBehaviors.BaseBehavior
Assembly: Assembly-CSharp
Creates a rotation with the specified forward and upwards directions. It is a wrapper on Quaternion.LookRotation. This method should be called only in main thread.
Parameters
- logger
Logger for method call.
- targetPosition
Position that is looked at.
Returns
Rotation to target position.