Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 1 Support › Joints

Tagged: 

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

    AKroell

    Hi,

    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”…

     

    BR,

    AK

    #6331

    Alex
    Felgo Team

    Hi,
    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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded