Replace scene with Zero Gravity Physics Volume

// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "MyActor.generated.h"

UCLASS()
class MYPROJECT2_API AMyActor : public AActor
{
	GENERATED_BODY()
	
public:	
	// Sets default values for this actor's properties
	AMyActor();

protected:
	// Called when the game starts or when spawned
	virtual void BeginPlay(float physics volume) override;

public:	
	// Called every frame
	virtual void Tick(float DeltaTime) override;

	
	
};

UFUNCTION(Exec) void ConsoleCommand(float param);
UFUNCTION(BlueprintPure) static Physics Volume(ref); 
UFUNCTION(BlueprintImplementableEvent) void ImportantEvent(int param); 
UFUNCTION(meta = (DevelopmentOnly)) float NotSoImportantDebugFunc();

Could you provide more information? What are you trying to accomplish specifically? Could modifying the global gravity variable be useful to you? i.e.:

GetCharacterMovement()->GravityScale = 0;