You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sources/engine/Stride.BepuPhysics/Stride.BepuPhysics/BodyComponent.cs
+22-16Lines changed: 22 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,7 @@ public class BodyComponent : CollidableComponent
46
46
/// <summary>
47
47
/// When kinematic is set, the object will not be affected by physics forces like gravity or collisions but will still push away bodies it collides with.
48
48
/// </summary>
49
+
[Display(category:CategoryForces)]
49
50
publicboolKinematic
50
51
{
51
52
get=>_kinematic;
@@ -67,6 +68,7 @@ public bool Kinematic
67
68
68
69
/// <summary> Whether gravity should affect the simulation's <see cref="BepuSimulation.PoseGravity"/> </summary>
69
70
/// <remarks> Gravity is always active if <see cref="BepuSimulation.UsePerBodyAttributes"/> is false </remarks>
71
+
[Display(category:CategoryForces)]
70
72
publicboolGravity
71
73
{
72
74
get=>_gravity;
@@ -80,28 +82,13 @@ public bool Gravity
80
82
}
81
83
}
82
84
83
-
/// <summary>
84
-
/// Controls whether and how the motion of this body is smoothed out between physics update
/// Whether the object's path or only its destination is checked for collision when moving, prevents objects from passing through each other at higher speed
101
87
/// </summary>
102
88
/// <remarks>
103
89
/// This property is a shortcut to the <see cref="ContinuousDetection"/>.<see cref="ContinuousDetection.Mode"/> property
0 commit comments