RigidBody2D_IntegrateForces Method |
Allows you to read and safely modify the simulation state for the object. Use this instead of _PhysicsProcess(Single) if you need to directly change the body's position or other physics properties. By default, it works in addition to the usual physics behavior, but CustomIntegrator allows you to disable the default behavior and write custom force integration for a body.
Namespace: Godot
public virtual void _IntegrateForces( Physics2DDirectBodyState state )
[Missing <param name="state"/> documentation for "M:Godot.RigidBody2D._IntegrateForces(Godot.Physics2DDirectBodyState)"]