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

FRuntimeMeshCollisionSettings in BasicStaticProviderRMC created but not used #3

@Bonaducci

Description

@Bonaducci

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions