Enum PhysicsServer2D.SpaceParameter
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum PhysicsServer2D.SpaceParameter : long
Fields
BodyAngularVelocitySleepThreshold = 5Constant to set/get the threshold angular velocity of activity. A body marked as potentially inactive for both linear and angular velocity will be put to sleep after the time given. The default value of this parameter is
ProjectSettings.physics/2d/sleep_threshold_angular.BodyLinearVelocitySleepThreshold = 4Constant to set/get the threshold linear velocity of activity. A body marked as potentially inactive for both linear and angular velocity will be put to sleep after the time given. The default value of this parameter is
ProjectSettings.physics/2d/sleep_threshold_linear.BodyTimeToSleep = 6Constant to set/get the maximum time of activity. A body marked as potentially inactive for both linear and angular velocity will be put to sleep after this time. The default value of this parameter is
ProjectSettings.physics/2d/time_before_sleep.ConstraintDefaultBias = 7Constant to set/get the default solver bias for all physics constraints. A solver bias is a factor controlling how much two objects "rebound", after violating a constraint, to avoid leaving them in that state because of numerical imprecision. The default value of this parameter is
ProjectSettings.physics/2d/solver/default_constraint_bias.ContactDefaultBias = 3Constant to set/get the default solver bias for all physics contacts. A solver bias is a factor controlling how much two objects "rebound", after overlapping, to avoid leaving them in that state because of numerical imprecision. The default value of this parameter is
ProjectSettings.physics/2d/solver/default_contact_bias.ContactMaxAllowedPenetration = 2Constant to set/get the maximum distance a shape can penetrate another shape before it is considered a collision. The default value of this parameter is
ProjectSettings.physics/2d/solver/contact_max_allowed_penetration.ContactMaxSeparation = 1Constant to set/get the maximum distance a shape can be from another before they are considered separated and the contact is discarded. The default value of this parameter is
ProjectSettings.physics/2d/solver/contact_max_separation.ContactRecycleRadius = 0Constant to set/get the maximum distance a pair of bodies has to move before their collision status has to be recalculated. The default value of this parameter is
ProjectSettings.physics/2d/solver/contact_recycle_radius.SolverIterations = 8Constant to set/get the number of solver iterations for all contacts and constraints. The greater the number of iterations, the more accurate the collisions will be. However, a greater number of iterations requires more CPU power, which can decrease performance. The default value of this parameter is
ProjectSettings.physics/2d/solver/solver_iterations.