Class ProxyAlignmentForce
Inheritance
ProxyAlignmentForce
Syntax
public class ProxyAlignmentForce : MonoBehaviour, ISimulatable, IProxyAlignmentForceSource
Constructors
ProxyAlignmentForce()
Declaration
public ProxyAlignmentForce()
Properties
scaleForces
Strength of the alignment force
Declaration
public ProxyAlignmentForceScaling scaleForces { get; set; }
Property Value
targetProxy
Target of this force should align to
Declaration
public ProxyForces targetProxy { get; set; }
Property Value
targetRelation
Style of relation to the target
Declaration
public ProxyAlignmentForceType targetRelation { get; set; }
Property Value
Methods
CheckInitialRelativePose()
Checks that the initial pose has been configured
Declaration
public void CheckInitialRelativePose()
TryGetGoalPose(out Pose, Boolean)
Declaration
public bool TryGetGoalPose(out Pose goalPose, bool ignoreActive)
Parameters
Type |
Name |
Description |
Pose |
goalPose |
|
Boolean |
ignoreActive |
|
Returns
TryGetTargetPose(out Pose, Boolean)
Declaration
public bool TryGetTargetPose(out Pose pose, bool ignoreActive)
Parameters
Type |
Name |
Description |
Pose |
pose |
|
Boolean |
ignoreActive |
|
Returns
UpdateAlignmentDefinitionWithin(ProxyForces)
Declaration
public void UpdateAlignmentDefinitionWithin(ProxyForces into)
Parameters
UpdateInitialRelativePose()
Updates the initial relative pose to it's current alignment
Declaration
public void UpdateInitialRelativePose()