Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!


OverviewFelgo 1 Support › Joints


Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #6321



    I have a DistanceJoint in my game and would like to make it visible (e.g. with an image like a rope (or in my case a laser)) but when i try to put an image (or a rectangle for that matter) inside the definition of the joint i get the error “Cannot assign to non-existent default property”…





    Felgo Team

    the reason for this is that joints are QObjects internally, not QItems. You cannot assign child items to QObjects. Furthermore, a joint is not supposed to be a visible item with specific dimensions etc anyway, it’s just a logical connection between 2 bodies.

    You can find several tutorials about Box2D ropes and similar things online, they should give you ideas how to solve your problem.

    Cheers, Alex

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.