We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 774c3cd + 5114103 commit a6ec757Copy full SHA for a6ec757
tutorials/physics/ray-casting.rst
@@ -63,7 +63,7 @@ Use the following code in 2D:
63
public override void _PhysicsProcess(double delta)
64
{
65
var spaceRid = GetWorld2D().Space;
66
- var spaceState = Physics2DServer.SpaceGetDirectState(spaceRid);
+ var spaceState = PhysicsServer2D.SpaceGetDirectState(spaceRid);
67
}
68
69
Or more directly:
0 commit comments