Enum PhysicsServer3D.SpaceParameter
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum PhysicsServer3D.SpaceParameter : long
Fields
BodyAngularVelocitySleepThreshold = 5
Constant 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.
BodyLinearVelocitySleepThreshold = 4
Constant 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.
BodyTimeToSleep = 6
Constant 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.
ContactDefaultBias = 3
Constant 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.
ContactMaxAllowedPenetration = 2
Constant to set/get the maximum distance a shape can penetrate another shape before it is considered a collision.
ContactMaxSeparation = 1
Constant to set/get the maximum distance a shape can be from another before they are considered separated and the contact is discarded.
ContactRecycleRadius = 0
Constant to set/get the maximum distance a pair of bodies has to move before their collision status has to be recalculated.
SolverIterations = 7
Constant to set/get the number of solver iterations for contacts and constraints. The greater the number of iterations, the more accurate the collisions and constraints will be. However, a greater number of iterations requires more CPU power, which can decrease performance.