Class PlayerGroundMotor
Namespace: DaggerfallWorkshop.Game
Assembly: Assembly-CSharp.dll
Syntax
public class PlayerGroundMotor : MonoBehaviour
Properties
| Improve this Doc View SourceActivePlatform
Declaration
public Transform ActivePlatform { get; set; }
Property Value
Type | Description |
---|---|
Transform |
Methods
| Improve this Doc View SourceClearActivePlatform()
Reset moving platform logic to new player position
Declaration
public void ClearActivePlatform()
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. |