-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
This works:
transient Colliding {
entity overlapping_entity;
}
This example doesn't work:
transient SpawnLocation {
f32 point_x;
f32 point_y;
}
The component/transient is added here:
system GeneratePlayerLocation {
include Player;
readonly Position;
system SpawnCreepTimer {
readwrite CreepSpawner;
adds SpawnLocation;
}
}
For context, this is a system used to spawn a creep in Seaube's Collision project. When the SpawnLocation component is a transient it won't trigger. This problem can be reproduced there.
system GenerateCreep {
include CreepSpawner;
readwrite SpawnLocation;
generates {
required Creep;
required Position;
required Velocity;
required CanMove;
required Health;
required Collidable;
}
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working