Enum CharacterBody3D.PlatformOnLeaveEnum
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum CharacterBody3D.PlatformOnLeaveEnum : long
Fields
AddUpwardVelocity = 1
Add the last platform velocity to the Velocity when you leave a moving platform, but any downward motion is ignored. It's useful to keep full jump height even when the platform is moving down.
AddVelocity = 0
Add the last platform velocity to the Velocity when you leave a moving platform.
DoNothing = 2
Do nothing when leaving a platform.