Open cchandel opened 1 year ago
type Position struct {
ecs.Component[Position]
x float64
y float64
routex [3]float64
}
Component's member "routex" should be value type, you can use array replace ths slice, routex []float64 -> routex [3]float64
Hi, I'm converting older code to the new ECS code.
I had a component like so
When registering this system like so
I'm getting errors like
Seems like there's an issue using slices in components. Please help.