Skip to content

Face Forward

Face object towards the direction of movement.

Authors and contributors to this community extension: VictrisGames, TheGemDev.


Set the angle of the object to match the direction of movement.

This works with any kind of movement (forces, physics, dragging, etc) because it tracks the object position to compute the direction of movement.

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 offset angle
Set offset angle.

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::OffsetAngle() Offset angle.
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.