Bewerken

Delen via


Solver.SnapGoalTo Method

Definition

Overloads

SnapGoalTo(Vector3, Quaternion, Vector3)

SnapGoalTo only sets the goal orientation. Not really useful.

SnapGoalTo(Vector3, Quaternion)
Obsolete.

SnapGoalTo only sets the goal orientation. Not really useful.

SnapGoalTo(Vector3, Quaternion, Vector3)

SnapGoalTo only sets the goal orientation. Not really useful.

public:
 virtual void SnapGoalTo(UnityEngine::Vector3 position, UnityEngine::Quaternion rotation, UnityEngine::Vector3 scale);
public virtual void SnapGoalTo (UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Vector3 scale);
abstract member SnapGoalTo : UnityEngine.Vector3 * UnityEngine.Quaternion * UnityEngine.Vector3 -> unit
override this.SnapGoalTo : UnityEngine.Vector3 * UnityEngine.Quaternion * UnityEngine.Vector3 -> unit
Public Overridable Sub SnapGoalTo (position As Vector3, rotation As Quaternion, scale As Vector3)

Parameters

position
UnityEngine.Vector3
rotation
UnityEngine.Quaternion
scale
UnityEngine.Vector3

Applies to

SnapGoalTo(Vector3, Quaternion)

Caution

Use SnapGoalTo(Vector3, Quaternion, Vector3) instead.

SnapGoalTo only sets the goal orientation. Not really useful.

public:
 virtual void SnapGoalTo(UnityEngine::Vector3 position, UnityEngine::Quaternion rotation);
[System.Obsolete("Use SnapGoalTo(Vector3, Quaternion, Vector3) instead.")]
public virtual void SnapGoalTo (UnityEngine.Vector3 position, UnityEngine.Quaternion rotation);
[<System.Obsolete("Use SnapGoalTo(Vector3, Quaternion, Vector3) instead.")>]
abstract member SnapGoalTo : UnityEngine.Vector3 * UnityEngine.Quaternion -> unit
override this.SnapGoalTo : UnityEngine.Vector3 * UnityEngine.Quaternion -> unit
Public Overridable Sub SnapGoalTo (position As Vector3, rotation As Quaternion)

Parameters

position
UnityEngine.Vector3
rotation
UnityEngine.Quaternion
Attributes

Applies to