how do you make it Visible Collision Shapes work when exported the game

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By alexass212

every time when exporting the game the visible collision Shape turn off how do you turn it back on in adscript

Those shapes are supposed to be a debug only feature.

exuin | 2021-01-25 02:50

:bust_in_silhouette: Reply From: Bot7

Make an ColorRect on the collisionShape and change visibility.

Collision shapes are called “helper objects” in Godot, in the sense that they exist only in the editor, and not in the game itself (they are part of the physics engine). So as this answer says, you need to make them visible by attaching a mesh (these are visible, and not helper objects) to them.

Griefchief | 2021-01-26 06:50