Show / Hide Table of Contents

Class HeadBobber

Inheritance
Object
Object
Component
Behaviour
MonoBehaviour
HeadBobber
Namespace: DaggerfallWorkshop.Game
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(CharacterController))]
[RequireComponent(typeof(PlayerFootsteps))]
[RequireComponent(typeof(PlayerEnterExit))]
public class HeadBobber : MonoBehaviour

Properties

| Improve this Doc View Source

BobStyle

Declaration
public BobbingStyle BobStyle { get; }
Property Value
Type Description
BobbingStyle
| Improve this Doc View Source

RestPos

Declaration
public Vector3 RestPos { get; set; }
Property Value
Type Description
Vector3

Methods

| Improve this Doc View Source

ApplySimpleBouncing(ref Vector3)

Declaration
protected void ApplySimpleBouncing(ref Vector3 newPosition)
Parameters
Type Name Description
Vector3 newPosition
| Improve this Doc View Source

GetBobbingStyle()

Declaration
protected void GetBobbingStyle()
| Improve this Doc View Source

getNewPos(ref Vector3, ref Vector3)

Declaration
protected void getNewPos(ref Vector3 newPosition, ref Vector3 newRotation)
Parameters
Type Name Description
Vector3 newPosition
Vector3 newRotation
| Improve this Doc View Source

InterpolateBeginTransition(Vector3)

Declaration
protected Vector3 InterpolateBeginTransition(Vector3 newPosition)
Parameters
Type Name Description
Vector3 newPosition
Returns
Type Description
Vector3
| Improve this Doc View Source

InterpolateEndTransition(Single)

Declaration
protected Vector3 InterpolateEndTransition(float endTimer)
Parameters
Type Name Description
Single endTimer
Returns
Type Description
Vector3
| Improve this Doc View Source

PlotPath()

Declaration
protected Vector3 PlotPath()
Returns
Type Description
Vector3
| Improve this Doc View Source

PlotRotation()

Declaration
protected Vector3 PlotRotation()
Returns
Type Description
Vector3
| Improve this Doc View Source

SetParamsForBobbingStyle()

Declaration
protected void SetParamsForBobbingStyle()

Extension Methods

MBExtensions.Invoke(MonoBehaviour, Action, Single)
MBExtensions.Invoke<T>(MonoBehaviour, Action<T>, T, Single)
MBExtensions.Invoke<T1, T2>(MonoBehaviour, Action<T1, T2>, T1, T2, Single)
MBExtensions.Invoke<T1, T2, T3>(MonoBehaviour, Action<T1, T2, T3>, T1, T2, T3, Single)
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX