Reputation: 140
In the game I am working on, several objects have physics bodies used for collision detection. When I run the game on my iPhone, these bodies are indicated by outlining each object with a bright green or blue line. Is there any way I can remove this? Is this only present when testing apps? I am using Swift and iOS 8.
Upvotes: 3
Views: 905
Reputation: 130222
At some point you're enabling the showsPhysics property of your SKView. Should look something like this:
skView.showsPhysics = true
This property defaults to false, so removing the line of code enabling it will be enough to disable the behavior.
Upvotes: 2