rj-action-library/Runtime/Interactions/CharacterController/MoveAndSlide.cs

17 lines
343 B
C#
Raw Normal View History

2024-12-01 17:07:41 +00:00
using Godot;
using System.Collections;
using System.Collections.Generic;
using Godot.Collections;
namespace Rokojori
{
[GlobalClass]
public partial class MoveAndSlide:CharacterControllerAction
{
public override void _OnTrigger()
{
2025-01-03 12:09:23 +00:00
// RJLog.Log( controller.body.Velocity );
2024-12-01 17:07:41 +00:00
controller.body.MoveAndSlide();
}
}
}