VelocityLimitController Class |
Namespace: Internal.tainicom.Aether.Physics2D.Controllers
public class VelocityLimitController : Controller
The VelocityLimitController type exposes the following members.
| Name | Description | |
|---|---|---|
| VelocityLimitController |
Initializes a new instance of the VelocityLimitController class.
Sets the max linear velocity to Settings.MaxTranslation
Sets the max angular velocity to Settings.MaxRotation
| |
| VelocityLimitController(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.
|
| Name | Description | |
|---|---|---|
| MaxAngularVelocity |
Gets or sets the max angular velocity.
| |
| MaxLinearVelocity |
Gets or sets the max linear velocity.
| |
| World | (Inherited from Controller.) |
| Name | Description | |
|---|---|---|
| AddBody | ||
| AddDisabledCategory |
Adds the category.
(Inherited from FilterData.) | |
| AddEnabledCategory |
Adds the category.
(Inherited from FilterData.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsActiveOn | (Inherited from Controller.) | |
| IsInDisabledCategory |
Determines whether this body ignores the the specified controller.
(Inherited from FilterData.) | |
| IsInEnabledInCategory |
Determines whether this body ignores the the specified controller.
(Inherited from FilterData.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveBody | ||
| RemoveDisabledCategory |
Removes the category.
(Inherited from FilterData.) | |
| RemoveEnabledCategory |
Removes the category.
(Inherited from FilterData.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Update | (Overrides ControllerUpdate(Single).) |
| Name | Description | |
|---|---|---|
| ControllerCategory | (Inherited from Controller.) | |
| DisabledOnCategories |
Disable the logic on specific categories.
Category.None by default.
(Inherited from FilterData.) | |
| DisabledOnGroup |
Disable the logic on specific groups
(Inherited from FilterData.) | |
| Enabled | (Inherited from Controller.) | |
| EnabledOnCategories |
Enable the logic on specific categories
Category.All by default.
(Inherited from FilterData.) | |
| EnabledOnGroup |
Enable the logic on specific groups.
(Inherited from FilterData.) | |
| LimitAngularVelocity | ||
| LimitLinearVelocity |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
| PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
| PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |