#Read Owner Entity in System
1 messages · Page 1 of 1 (latest)
And i read all Jump Entity, i want to apply Jump Logic there are owner Player Entity
i need to know what is proper way to ECS concept
should i using some Chunk Component?
Why do you have a jump entity?
cause that entity have some cooltime, condition... and so on
@zenith violet
and i want to add some other skills to
Since you're doing an entity query you can use SystemAPI.GetComponentRW to change the source component, but the way you've set it up sounds a bit clunky. But it will work
then are there awesome skill system structure in ECS?
I'm not entirely sure what you're trying to do, but if it affects the player entity directly then it usually makes more sense to have the jump component on the player entity
Generally you'll want to set up your queries to primarily modify what they loop over
ok then i trying create some skill system in one entity