Click or drag to resize

VelocityLimitController Class

Put a limit on the linear (translation - the movespeed) and angular (rotation) velocity of bodies added to this controller.
Inheritance Hierarchy
SystemObject
  Internal.tainicom.Aether.Physics2D.Common.PhysicsLogicFilterData
    Internal.tainicom.Aether.Physics2D.ControllersController
      Internal.tainicom.Aether.Physics2D.ControllersVelocityLimitController

Namespace: Internal.tainicom.Aether.Physics2D.Controllers
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public class VelocityLimitController : Controller

The VelocityLimitController type exposes the following members.

Constructors
 NameDescription
Public methodVelocityLimitController Initializes a new instance of the VelocityLimitController class. Sets the max linear velocity to Settings.MaxTranslation Sets the max angular velocity to Settings.MaxRotation
Public methodVelocityLimitController(Single, Single) Initializes a new instance of the VelocityLimitController class. Pass in 0 or float.MaxValue to disable the limit. maxAngularVelocity = 0 will disable the angular velocity limit.
Top
Properties
 NameDescription
Public propertyMaxAngularVelocity Gets or sets the max angular velocity.
Public propertyMaxLinearVelocity Gets or sets the max linear velocity.
Public propertyWorld
(Inherited from Controller)
Top
Methods
 NameDescription
Public methodAddBody 
Public methodAddDisabledCategory Adds the category.
(Inherited from FilterData)
Public methodAddEnabledCategory Adds the category.
(Inherited from FilterData)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsActiveOn
(Inherited from Controller)
Public methodIsInDisabledCategory Determines whether this body ignores the the specified controller.
(Inherited from FilterData)
Public methodIsInEnabledInCategory Determines whether this body ignores the the specified controller.
(Inherited from FilterData)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemoveBody 
Public methodRemoveDisabledCategory Removes the category.
(Inherited from FilterData)
Public methodRemoveEnabledCategory Removes the category.
(Inherited from FilterData)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdate
(Overrides ControllerUpdate(Single))
Top
Fields
 NameDescription
Public fieldControllerCategory
(Inherited from Controller)
Public fieldDisabledOnCategories Disable the logic on specific categories. Category.None by default.
(Inherited from FilterData)
Public fieldDisabledOnGroup Disable the logic on specific groups
(Inherited from FilterData)
Public fieldEnabled
(Inherited from Controller)
Public fieldEnabledOnCategories Enable the logic on specific categories Category.All by default.
(Inherited from FilterData)
Public fieldEnabledOnGroup Enable the logic on specific groups.
(Inherited from FilterData)
Public fieldLimitAngularVelocity 
Public fieldLimitLinearVelocity 
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also