Megafunk / MassSample

My understanding of Unreal Engine 5's experimental ECS plugin with a small sample project.
MIT License
681 stars 112 forks source link

How to make the MassAI crowd spawned at the same locations every time? #38

Open Kal-Elll opened 1 year ago

Kal-Elll commented 1 year ago

I have to render the sequencer several times and want to make the renderd images exactly same for corresponding frames. But the massAI crowd are spawned in random loacations every time, how to fix it? Thanks!

Ji-Rath commented 1 year ago

I don't have an exact answer for you but if you are spawning the entities using a MassSpawner, chances are that you are using an EQ to find locations to spawn them. I would recommend messing with those values to get consistent results. As for the ai logic/visualization however, that might be a tougher question that I can't answer.

Megafunk commented 1 year ago

It might be possible to ensure the zonegraph query has the same random stream every time? I'm not entirely sure without trying myself.

ctwfei commented 8 months ago

I have to render the sequencer several times and want to make the renderd images exactly same for corresponding frames. But the massAI crowd are spawned in random loacations every time, how to fix it? Thanks!

Hi Kal, I always crash when running city sample or masscrowd on ubuntu18.04. I'm not sure if you've encountered any similar issues before. MassAICrash