Physics2DServerBodySetContinuousCollisionDetectionMode Method |
Sets the continuous collision detection mode using one of the Physics2DServerCCDMode constants.
Continuous collision detection tries to predict where a moving body will collide, instead of moving it and correcting its movement if it collided.
Namespace: Godot
public static void BodySetContinuousCollisionDetectionMode( RID body, Physics2DServerCCDMode mode )
[Missing <param name="body"/> documentation for "M:Godot.Physics2DServer.BodySetContinuousCollisionDetectionMode(Godot.RID,Godot.Physics2DServer.CCDMode)"]
[Missing <param name="mode"/> documentation for "M:Godot.Physics2DServer.BodySetContinuousCollisionDetectionMode(Godot.RID,Godot.Physics2DServer.CCDMode)"]