Skip to content

Sprite Builder should display some error when user sets the physics shape to circle and tries to set the corner values of dynamic physics body to 0. #1594

@Shahidwerplay

Description

@Shahidwerplay
  1. Launch Application.
  2. Create a new project.
  3. Drag and drop a CCPhysics Node.
  4. Drop to physics bodies under it, enable their physics, make one of them static and other dynamic.
  5. Change the physics shape of both physics bodies to circle and sets their corner values =0.
  6. Publish the project, build and run it on XCode.

--Observe: Xcode terminates with error: Body's mass and moment must be positive to simulate.

--Result: Sprite Builder should display some error when user sets the physics shape to circle and tries to set the corner values of dynamic physics body to 0.

SB Version: Latest Develop Branch (2.0)
SB Revision: 3c4db04
Mac OS 10.10.0
XCode 6.1

Video:https://drive.google.com/file/d/0B5-RfBatv-b8WmRGdTlmTVVOMVk/view?usp=sharing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions