Click or drag to resize

PhysicsServerBodySetEnableContinuousCollisionDetection Method

If true, the continuous collision detection mode is enabled.

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
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void BodySetEnableContinuousCollisionDetection(
	RID body,
	bool enable
)

Parameters

body
Type: GodotRID

[Missing <param name="body"/> documentation for "M:Godot.PhysicsServer.BodySetEnableContinuousCollisionDetection(Godot.RID,System.Boolean)"]

enable
Type: SystemBoolean

[Missing <param name="enable"/> documentation for "M:Godot.PhysicsServer.BodySetEnableContinuousCollisionDetection(Godot.RID,System.Boolean)"]

See Also