You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new function to physics to enable a debug setting. This setting (as of right now) would just add a collider visualizer to the game objects with some opacity level.
Example:
SF.physics.enableDebug() -- would set SF.physics.debug to true
Then any Physics object's awake function will add the visualizer if enabled, or if called during runtime (which I think would be discouraged) go through the physics object tree and add them to existing ones. Visualizer size would be determined by the Physics object's size settings.
As an aside, I think making the visualizers solid for this change would be beneficial, as they look a little bit odd when stretched
The text was updated successfully, but these errors were encountered:
Add a new function to physics to enable a debug setting. This setting (as of right now) would just add a collider visualizer to the game objects with some opacity level.
Example:
Then any Physics object's awake function will add the visualizer if enabled, or if called during runtime (which I think would be discouraged) go through the physics object tree and add them to existing ones. Visualizer size would be determined by the Physics object's size settings.
As an aside, I think making the visualizers solid for this change would be beneficial, as they look a little bit odd when stretched
The text was updated successfully, but these errors were encountered: