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();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|