Full ECS Integration Plans?

Hello!

I’ve seen in some older posts that there are plans for better full ECS integration, such as an authoring component for Follower Entities. I am using an authoring script another user posted in those older posts.

But I’m curious about where things stand now for full ECS integration. Are we any closer to it being a thing? Especially integrating the Unity Physics package. That authoring component I found does work, but when the sub scene is closed and everything gets converted to entities, the movement (or rather the grounding) stops working (I assume because the GameObject colliders technically don’t exist anymore, so the gravity/grounding raycast aren’t finding anything to latch onto).

Anyway, just wondering! Love the package, keep up the great work!

4 Likes

I’ll tag @aron_granberg on this one. He’ll let you know where he plans on going with this/when it may show up if it’s planned.

Appreciate the love as well!

1 Like

Hi, I’m on the same boat!
I managed to make it work when I cache the grid + use Agents Navigation from the asset store - then it will work at the build. However, the moment something changes (colliders move) it won’t discover them, just like you said since it can’t interact with the entities world.

A solution for that will be most welcome :slight_smile:

btw @random, as a solution for now, you can create a system that takes all moving colliders/new colliders from the entities world and duplicate them and their locations to the gameobject world.

Its a pretty easy solution to fix a pretty big problem (though it’s not ideal, but not terrible)

2 Likes

Just wanted to check in, can I take the silence as the answer?

Definitely not, Aron is usually pretty wrapped up- he’s gotta build and maintain an entire Unity asset after all :joy: I put this on his radar though :+1:

1 Like

Hi

I’ve been working on a proper built-in baker for the FollowerEntity. It will likely be included in the next update.
Integration with the unity physics package is likely further out. There’s a lot of code that needs to be updated.

3 Likes

Understood! Apologies for the assumption.
I’d just seen that he’d been posting to other threads throughout the week, so I assumed the worst.

Great to hear we are at least heading in that direction though!

No apologies needed! I’m actually glad you brought it up so I had the chance to let you know :smiley:

1 Like

The built-in baker is now included in the latest beta.

2 Likes