Skip to content

KinematicCharacterBody.MoveAndSlide(Vector2) Method

Sets Velocity and returns this component for fluent call sites.

public Brine2D.ECS.Components.KinematicCharacterBody MoveAndSlide(System.Numerics.Vector2 velocity);

Parameters

velocity System.Numerics.Vector2

Returns

KinematicCharacterBody