Physics2DServerBodySetState Method |
Sets a body state using one of the Physics2DServerBodyState constants.
Note that the method doesn't take effect immediately. The state will change on the next physics frame.
Namespace: Godot
public static void BodySetState( RID body, Physics2DServerBodyState state, Object value )
[Missing <param name="body"/> documentation for "M:Godot.Physics2DServer.BodySetState(Godot.RID,Godot.Physics2DServer.BodyState,System.Object)"]
[Missing <param name="state"/> documentation for "M:Godot.Physics2DServer.BodySetState(Godot.RID,Godot.Physics2DServer.BodyState,System.Object)"]
[Missing <param name="value"/> documentation for "M:Godot.Physics2DServer.BodySetState(Godot.RID,Godot.Physics2DServer.BodyState,System.Object)"]