BoingBehavior
Applies spring-based motion to a single transform.
Inherits from: BoingBase
Fields
UpdateMode
public BoingManager.UpdateMode UpdateModeType: BoingManager.UpdateMode
Match this mode with how you update your object's transform.
Fixed Update - Use this mode if you update your object's transform in FixedUpdate(). Also use this mode if the game object is affected by Unity physics (i.e. has a Rigidbody), which uses fixed updates. This uses fixed Time.fixedDeltaTime.
Update - Only use this mode if your render logic pulls transforms during Update() and before LateUpdate(), such as Unity's skinned sprite renderer (in certain versions).
Late Update - Use this mode if you update your object's transform in Update(). This uses the variable Time.deltaTime.
TwoDDistanceCheck
public bool TwoDDistanceCheckType: bool
Enable to only check distance on a 2D plane.
TwoDPositionInfluence
public bool TwoDPositionInfluenceType: bool
Enable to only apply effector position influence on a 2D plane.
TwoDRotationInfluence
public bool TwoDRotationInfluenceType: bool
Enable to only apply effector rotation influence on a 2D plane.
EnablePositionEffect
public bool EnablePositionEffectType: bool
Check to enable position effects.
EnableRotationEffect
public bool EnableRotationEffectType: bool
Check to enable rotation effects.
EnableScaleEffect
public bool EnableScaleEffectType: bool
Check to enable scale effects.
GlobalReactionUpVector
public bool GlobalReactionUpVectorType: bool
If checked, Reaction Up is defined in global space. If unchecked, Reaction Up is in local space.
TranslationLockSpace
public BoingManager.TransformLockSpace TranslationLockSpaceType: BoingManager.TransformLockSpace
Lock translation in global space or object's local space.
LockTranslationX
public bool LockTranslationXType: bool
When locked, translational effects along the X axis are eliminated.
LockTranslationY
public bool LockTranslationYType: bool
When locked, translational effects along the Y axis are eliminated.
LockTranslationZ
public bool LockTranslationZType: bool
When locked, translational effects along the Z axis are eliminated.
RotationLockSpace
public BoingManager.TransformLockSpace RotationLockSpaceType: BoingManager.TransformLockSpace
Lock rotation in global space or object's local space.
LockRotationX
public bool LockRotationXType: bool
When locked, rotational effects along the X axis (in terms of Euler angles) are eliminated.
LockRotationY
public bool LockRotationYType: bool
When locked, rotational effects along the Y axis (in terms of Euler angles) are eliminated.
LockRotationZ
public bool LockRotationZType: bool
When locked, rotational effects along the Z axis (in terms of Euler angles) are eliminated.
SharedParams
public SharedBoingParams SharedParamsType: SharedBoingParams
Shared boing parameters can be created as Unity assets by right-clicking in the Project menu and selecting Create > Boing Kit > Shared Boing Params. Useful for avoiding duplicate parameter management when multiple objects share identical parameters.