SymOntoClay is game AI experimental open source engine.


  Warning logo Purely experimental and very unstable project developed by only one person
Please read the page before starting

BaseBehavior.GetRotationToPositionInUsualThread(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 usual (not main) thread.

Parameters

logger

Logger for method call.

targetPosition

Position that is looked at.

Returns

Rotation to target position.