I’m working on a project in Unreal Engine and need some help. I want to keyframe some actors while also starting the level. Some of these actors have “Simulate Physics” enabled, and I want the physics simulation to begin simultaneously with my animation. How can I achieve this?
In the actor’s properties, uncheck the “Simulate Physics” option so that the keyframe animation can drive the actor’s movement at the start.
Create the Animation:
Use the Sequencer to create the keyframe animation for your actors. Make sure the keyframes cover the initial part of the sequence where you want to control the movement before switching to physics simulation.*
Trigger Physics Simulation:
Add a custom event to the timeline within the Sequencer. This event will toggle the “Simulate Physics” on at the point when you want the physics simulation to take over.
To do this, go into the Blueprint or Level Blueprint, and call the
Set Simulate Physics node for each actor you need to start simulating physics.
Blend Animation to Physics:
When you toggle “Simulate Physics,” Unreal will transition from animation-driven movement to physics-driven movement. To ensure a smooth transition, consider using a physics blend option (if available) or tweak the event timing so the switch feels natural.
Ensure Physics is Enabled After Animation:
Once your keyframed animation reaches the desired point, the event will enable physics simulation, and the actors will then behave according to the simulation properties.