Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

FRuntimeMeshCollisionSettings in BasicStaticProviderRMC created but not used #3

Open
Bonaducci opened this issue Feb 17, 2020 · 0 comments

Comments

@Bonaducci
Copy link

FRuntimeMeshCollisionSettings are created for BasicStaticProviderRMC but never assigned to it. There is no explanation if that's either not ready functionality or it's obsolete and not used anymore.

	// Now setup collision
	FRuntimeMeshCollisionSettings Settings;
	Settings.bUseAsyncCooking = true;
	Settings.bUseComplexAsSimple = false;

	// Add a single box element for the simple collision
	Settings.Boxes.Emplace(BoxRadius.X * 2, BoxRadius.Y * 2, BoxRadius.Z * 2);

I tried setting it but it does not seem to do anything.

    StaticProvider->SetCollisionSettings(Settings);

If there is no collision mesh, it does not have any collisions no matter what settings are set. Is that correct?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant