Edit

Share via


Momentum.SnapTo(Vector3, Quaternion, Vector3) Method

Definition

Snaps the solver to the desired pose.

public:
 override void SnapTo(UnityEngine::Vector3 position, UnityEngine::Quaternion rotation, UnityEngine::Vector3 scale);
public override void SnapTo (UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Vector3 scale);
override this.SnapTo : UnityEngine.Vector3 * UnityEngine.Quaternion * UnityEngine.Vector3 -> unit
Public Overrides Sub SnapTo (position As Vector3, rotation As Quaternion, scale As Vector3)

Parameters

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

Applies to