python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
C++ make_unique() changing member attributes' values
I am developing a small game in SDL2 and am in the process of implementing a Quadtree for collision detection in the ECS I have written. The structure of my Quadtree class is similar to this one and t...
Nick Román
Votes: 0
Answers: 0
Single-data components in ECS with inheritance : downsides?
Let's say I have a component Position. This component has only one data, its... position. So it could be defined as this:
struct Position
{
Vector2 value;
};
But it's really redondant in access l...
rafoo
Votes: 0
Answers: 1
Component System OnUpdate Running Unintentionally in Other Scenes (Including New Ones)
I have a class that inherits from ComponentSystem in ECS and for some reason the OnUpdate function is being called unintentionally in every scene. Even if I create a new blank scene, the loop is runni...
ScorpioServo
Votes: 0
Answers: 1
Unity ECS : System does not find entities
I am having a problem with Unity ECS. My system does not find my entity with its query. This is my setup : I am currently testing with just one entity, that is created by a prefab, using this function...
Jonathan Schneider
Votes: 0
Answers: 1