PhysicsServerBodyCreate Method |
Creates a physics body. The first parameter can be any value from PhysicsServerBodyMode constants, for the type of body created. Additionally, the body can be created in sleeping state to save processing time.
Namespace: Godot
public static RID BodyCreate( PhysicsServerBodyMode mode = PhysicsServerBodyMode.Rigid, bool initSleeping = false )
[Missing <param name="mode"/> documentation for "M:Godot.PhysicsServer.BodyCreate(Godot.PhysicsServer.BodyMode,System.Boolean)"]
[Missing <param name="initSleeping"/> documentation for "M:Godot.PhysicsServer.BodyCreate(Godot.PhysicsServer.BodyMode,System.Boolean)"]
[Missing <returns> documentation for "M:Godot.PhysicsServer.BodyCreate(Godot.PhysicsServer.BodyMode,System.Boolean)"]