Why are constraints displayed on screen?
-
- Posts: 2
- Joined: Wed Jul 03, 2013 1:26 pm
- Contact:
Why are constraints displayed on screen?
I'm using chipmunk 5.3.5 with cocos2d. I was expecting to have to make sprites to represent constraints that I want to display but I'm getting a green line representing each constraint with a green square at the anchor points whether I want them or not. For this example I'm using a slideJoint. That's shows what's going on very nicely but I'd like to display the constraints in a different way. How can I turn off the green line and the green anchor points? I'm new to chipmunk.
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: Why are constraints displayed on screen?
Chipmunk does no rendering. You must have a debug rendering node for Chipmunk in your scene somewhere. I didn't really have an official Cocos2D one for that old of a version of Chipmunk, so I'm not sure what to tell you to look for.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Who is online
Users browsing this forum: No registered users and 6 guests