Skip to content

Face Forward

Face object towards the direction of movement.

Authors and contributors to this community extension: VictrisGames.


Set the angle of the object to match the direction of movement. You can customize the speed of the rotation.

This works with any kind of movement (forces, physics...) as it uses the object center position to compute the rotation of the object.

Read more...

Tip

Learn how to install new extensions by following a step-by-step guide.

Face forward

Face object towards the direction of movement.

Behavior actions

Set rotation speed
Set rotation speed (degrees per second). Use "0" for immediate turning.

Behavior expressions

Expression Description
Object.FaceForward::MovementDirection() Direction the object is moving (in degrees).
Object.FaceForward::RotationSpeed() Rotation speed (in degrees per second).

This page is an auto-generated reference page about the Face Forward extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.