Main Content

Sim3dStep

C++ method that steps actor in Unreal Engine 3D simulation

Since R2021b

Description

example

The C++ method void ASetGetActorLocation::Sim3dStep(float DeltaSeconds) steps an actor in the Unreal Engine® 3D simulation environment. The Unreal Engine AActor::Tick class calls the Sim3dStep method.

Examples

collapse all

void ASetGetActorLocation::Sim3dStep(float DeltaSeconds)
{
       Super::Sim3dStep(DeltaSeconds);
       uint32 messageSize = MAX_MESSAGE_SIZE;
       int statusR = ReadSimulation3DMessage (MessageReader, &messageSize, message);
       ...
       int statusW = WriteSimulation3DMessage (MessageWriter, messageSize, message);
}

Input Arguments

collapse all

Time elapsed since Unreal Engine modified the frame.

Data Types: float

Version History

Introduced in R2021b