[Request] Allow the 'Physics Interface' to query arbitrary physics scenes

Ok let me add another. Problem 3: Scoped read lock for chaos scenes causes linker errors because nothing is ENGINE_API.

Basically, physics scenes are completely useless unless they are set to the physics scene pointer of a world. I will now attempt to replace FScopedSceneReadLock, a friend class of chaos physics scenes:

// Allow other code to obtain read-locks when needed
	friend struct ChaosInterface::FScopedSceneReadLock;
	friend struct FScopedSceneLock_Chaos;

Yeah, other code in the Engine module. Come on!

1 Like