Class ProxyForces
Syntax
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()
Get the TraitRequirements that are required by this object
Declaration
public override TraitRequirement[] GetRequiredTraits()
Returns
Overrides
MarkFieldDirty()
Declaration
public void MarkFieldDirty()
RateDataMatch(ref Pose)
Describe how well a given piece of data matches a condition.
0 means the match is unacceptable, 1 means a perfect match
Declaration
public override float RateDataMatch(ref Pose data)
Parameters
Type |
Name |
Description |
Pose |
data |
|
Returns
Type |
Description |
Single |
A number from 0 to 1 indicating how well a piece of data watches this condition
|
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