Class ProxyForces
Syntax
[ComponentTooltip("Supports alignment and region forces and defines how they affect movement")]
[MonoBehaviourComponentMenu(typeof(ProxyForces), "Forces/Forces Settings")]
public class ProxyForces : Condition<Pose>, ISimulatable, ICondition<Pose>, ICondition, IConditionBase, IRequiresTraits<Pose>, IRequiresTraits, IPoseRefiner
Properties
allowedMotion
Declaration
public ProxyForceMotionType allowedMotion { get; set; }
Property Value
continuousSolve
Declaration
public bool continuousSolve { get; set; }
Property Value
requireForces
Declaration
public bool requireForces { get; set; }
Property Value
Declaration
public Pose TransformPose { get; set; }
Property Value
Methods
CheckChildReferences()
Declaration
public void CheckChildReferences()
CheckFieldUpdated()
Declaration
public void CheckFieldUpdated()
ForceUpdateField()
Declaration
public void ForceUpdateField()
GetRequiredTraits()
Declaration
public override TraitRequirement[] GetRequiredTraits()
Returns
Overrides
MarkFieldDirty()
Declaration
public void MarkFieldDirty()
RateDataMatch(ref Pose)
Declaration
public override float RateDataMatch(ref Pose data)
Parameters
Type |
Name |
Description |
Pose |
data |
|
Returns
Overrides
Unity.MARS.Condition<Pose>.RateDataMatch(Pose)
RefinePose(Pose, Boolean)
Declaration
public Pose RefinePose(Pose pose, bool leaveProxyInNewPose)
Parameters
Type |
Name |
Description |
Pose |
pose |
|
Boolean |
leaveProxyInNewPose |
|
Returns
Implements
Declaration
public void SingleStepTranformPose()
TrySingleSolve(Pose, Boolean, Boolean)
Declaration
public Pose TrySingleSolve(Pose rawPose, bool isSingleStep = false, bool isKeepNewPose = false)
Parameters
Type |
Name |
Description |
Pose |
rawPose |
|
Boolean |
isSingleStep |
|
Boolean |
isKeepNewPose |
|
Returns
Extension Methods