spritebuilder / SpriteBuilder

Objective-C Game Development Suite
http://www.spritebuilder.com/
Other
742 stars 293 forks source link

SB doesn't give any warning when user attaches pivot joint or distance joint or spring joint between 2 static physics nodes. #955

Open sana20 opened 9 years ago

sana20 commented 9 years ago
  1. Launch SBP.
  2. Create a new project.
  3. Create a new layer.
  4. Drag physics node and two objects under this physics node and make them static nodes.
  5. Connect a pivot between them.
  6. Publish project.

-- Result: SBP doesn't give any warning when user attach pivot joint or distance joint or spring joint between 2 static physics nodes whereas on XCode it displayes "error: Unsolvable constraint. Failed condition: det != 0.0."

Link to the video: https://drive.google.com/file/d/0B2b3lCCE3OwtcE9aaFNUYzZkYkE/edit?usp=sharing

Build: SpriteBuilder 1.3 Beta 07

MAC OS: 10.9.0 XCode Version: 5.0

khanbhai89 commented 9 years ago

This issue is still occurring on SpriteBuilder 1.3 RC on:

Mac OS X: 10.9.5 XCode: 6.0.

Kanoot commented 9 years ago

This issue is reoccurring.

SpriteBuilder-1.3.4-rc.1

Device A: Mac OS X: 10.9.5 XCode: 6.0

cocojoe commented 9 years ago

Should we have warnings pop up in SB during publish for some basic physics rules like this? Would be nicer in real time, although would require more effort for example switching between body types.

khanbhai89 commented 9 years ago

This issue is still occurring on SpriteBuilder-1.3.6.rc.1.

Mac OS X: 10.9.5. XCode: 6.0.