Speed restrictions
Limit max movement and rotation speed for forces-based or Physics 2D.
Authors and contributors to this experimental extension: VictrisGames.
Limit the maximum movement and rotation speed of an object from forces or the 2D Physics behavior.
How to use:
- Add the behavior that matches the method used to move the object (forces or physics)
- Set the maximum speed value in the behavior properties
Tips:
- This only affects movement caused by forces or physics behavior
- This may not affect movement caused by other behaviors (platformer, top-down, draggable, etc)
Tip
Learn how to install new extensions by following a step-by-step guide.
Enforce max movement speed
Limit the maximum speed an object will move from (non-physics) forces.
Behavior properties
- Maximum speed (🔢 Number, Speed). Default value is
1000.
See internal technical details
- Maximum speed is stored as
MaximumSpeed(Number). Unit is PixelSpeed. Default value is1000.
No expressions for this behavior.
Enforce max movement speed (physics)
Limit the maximum speed an object will move from physics forces.
Behavior properties
- Maximum speed (🔢 Number, Speed). Default value is
1000.
See internal technical details
- Maximum speed is stored as
MaximumSpeed(Number). Unit is PixelSpeed. Default value is1000.This behavior must be used on an object also having a behavior with type "Physics2::Physics2Behavior". This is stored on property
PhysicsBehavior.
No expressions for this behavior.
Enforce max rotation speed (physics)
Limit the maximum rotation speed of an object from physics forces.
Behavior properties
- Maximum rotation speed (🔢 Number, Angular speed). Default value is
3600.
See internal technical details
- Maximum rotation speed is stored as
MaximumRotationSpeed(Number). Unit is AngularSpeed. Default value is3600.This behavior must be used on an object also having a behavior with type "Physics2::Physics2Behavior". This is stored on property
PhysicsBehavior.
No expressions for this behavior.
This page is an auto-generated reference page about the Speed restrictions extension for GDevelop, the open-source, AI-powered, cross-platform game engine designed for everyone. Learn more about all GDevelop extensions here.