Show / Hide Table of Contents

Class PlayerGroundMotor

Inheritance
Object
Object
Component
Behaviour
MonoBehaviour
PlayerGroundMotor
Namespace: DaggerfallWorkshop.Game
Assembly: Assembly-CSharp.dll
Syntax
public class PlayerGroundMotor : MonoBehaviour

Properties

| Improve this Doc View Source

ActivePlatform

Declaration
public Transform ActivePlatform { get; set; }
Property Value
Type Description
Transform

Methods

| Improve this Doc View Source

ClearActivePlatform()

Reset moving platform logic to new player position

Declaration
public void ClearActivePlatform()
| Improve this Doc View Source

MoveWithMovingPlatform(Vector3)

Moves the player on solid ground and floating platforms.

Declaration
public void MoveWithMovingPlatform(Vector3 moveDirection)
Parameters
Type Name Description
Vector3 moveDirection

The vector the player should move to.

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