Struct ProxyAlignmentForceScaling
Scales how an alignment force is applied to an object
Assembly: Unity.MARS.dll
Syntax
[Serializable]
public struct ProxyAlignmentForceScaling
Constructors
ProxyAlignmentForceScaling(float, float)
Declaration
public ProxyAlignmentForceScaling(float moveForce, float rotationForce)
Parameters
Type |
Name |
Description |
float |
moveForce |
|
float |
rotationForce |
|
Fields
Default
Declaration
public static ProxyAlignmentForceScaling Default
Field Value
movementScale
Declaration
[Range(0, 2)]
[Tooltip("Scales the effect on position of the force. 0 for no effect, 1 for default, etc.")]
public float movementScale
Field Value
rotationScale
Declaration
[Range(0, 2)]
[Tooltip("Scales the effect on rotation of the force. 0 for no effect, 1 for default, etc.")]
public float rotationScale
Field Value