0 votes

I can remove a wall but still be able to have a ray collide with a previous "space state" of when the wall was originally there? This doesn't seem to work for storage of the map's current state and seems to just be a reference to the world's state and not it's own separate instance:

var phys_dir_space = _world.get_world().direct_space_state

if _original_direct_space_state == null:
    _original_direct_space_state = phys_dir_space
in Engine by (94 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.