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

32 lines
502 B
C#
Raw Normal View History

2025-07-25 08:13:35 +00:00
using Godot;
using System.Collections;
using System.Collections.Generic;
using Godot.Collections;
namespace Rokojori
{
[Tool]
[GlobalClass, Icon("res://addons/rokojori_action_library/Icons/CCGravity.svg")]
public partial class ImpactForce:Resource
{
[Export]
public Curve forceOverTime;
[Export]
public float maxForce;
[Export]
public Curve freezeOverTime;
[Export]
public float duration;
[Export]
public Vector3 direction;
}
}