it's michael, what's michael

This commit is contained in:
2024-09-15 02:17:40 -07:00
parent 096bcd6168
commit 7680ab8b45
313 changed files with 6913 additions and 1760 deletions

View File

@@ -179,7 +179,7 @@ namespace GameJamDungeon
MoveAndSlide();
PlayerLogic.Input(new PlayerLogic.Input.Moved(GlobalPosition));
PlayerLogic.Input(new PlayerLogic.Input.Moved(GlobalPosition, GlobalTransform));
}
public Vector3 GetGlobalInputVector()

View File

@@ -134,8 +134,8 @@ animations = [{
[node name="Player" type="CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.172521, 0)
collision_layer = 38
collision_mask = 7
collision_layer = 294
collision_mask = 263
script = ExtResource("1_xcol5")
PlayerStatResource = SubResource("Resource_btp2w")
@@ -167,6 +167,7 @@ shape = SubResource("BoxShape3D_hs4wf")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00341564, 1.40507, -0.159032)
cull_mask = 1048573
fov = 55.0
[node name="OmniLight3D" type="OmniLight3D" parent="."]
light_energy = 4.183

View File

@@ -8,7 +8,7 @@ namespace GameJamDungeon
{
public readonly record struct PhysicsTick(double Delta);
public readonly record struct Moved(Vector3 GlobalPosition);
public readonly record struct Moved(Vector3 GlobalPosition, Transform3D GlobalTransform);
public readonly record struct Enable;

View File

@@ -34,6 +34,7 @@ namespace GameJamDungeon
{
var gameRepo = Get<IGameRepo>();
gameRepo.SetPlayerGlobalPosition(input.GlobalPosition);
gameRepo.SetPlayerGlobalTransform(input.GlobalTransform);
return ToSelf();
}