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

Visualizer on Android #41

Open Starkium opened 1 year ago

Starkium commented 1 year ago

This is more of an issue with mass in general, but for some reason trying to use the visualization (instance static mesh) on android results in the meshes being flat on axis.

Since this is the case, can you put an example for mass to drive the movement of regular actor? Or perhaps you know of a solution for android?

Ji-Rath commented 1 year ago

I'm not sure if this is exactly what you are looking for, but you can use actor visualization and the MassAgentComponent to have mass handle movement and the actor simply be a 'puppet'. If you add the Feet Position Sync trait and have it Mass -> Actor, that should achieve what you are trying to do. (Other sync traits may come in handy if you are trying to use actors) Edit: For an example, I recommend taking a look at #42 for visualization using actors.