mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-13 21:32:03 +00:00
refactor(*): Restructure game into reusable Arena/GameMode architecture with controller-driven ships, adding Free Play and Match modes
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class_name ShipAction
|
||||
extends RefCounted
|
||||
|
||||
# A single physics tick's worth of control input for a Ship.
|
||||
# Produced by a ShipController each tick, consumed by Ship._integrate_forces.
|
||||
# This is deliberately shaped as the future RL action space (a flat 7-value
|
||||
# box) and the future network-replicated input payload.
|
||||
|
||||
var thrust := Vector3.ZERO # Per-axis -1..1: x = strafe, y = vertical, z = forward/back
|
||||
var rotation := Vector3.ZERO # Per-axis -1..1: x = pitch, y = yaw, z = roll
|
||||
var turbo := false
|
||||
Reference in New Issue
Block a user