Some questions about joints, issues and texturing...

Topics: Developer Forum
May 7, 2010 at 2:30 PM
Edited May 7, 2010 at 2:35 PM

Hi Guys, hope you can help me i have some issues/ questions:

1. I am playing around a little bit and trying to connect some bodies with the WeldJoint (see picture for better understanding):
( )

So if i connect some bodies, often they just break apart and the applied force seems to accumulate so they kinda explode,
(on the picture you see the triangle and rect. bodies which are connected by weldjoints(Anchor Pos is the small white dot) )

is there a way to connect these object so they don't break unnaturaly apart, unless there is a big force applied? Would it help if i use a different type of joint-class?
By the way i have a breakpoint defined which is:

private const float BREAKPOINT = 1.7f;

but whatever i use here they break anyway. Even if i don't declare a breakpoint...

2. As you can see i have some texture on the the rectangular bodies, i haven't really got an idea how i can use the same texture for
the triangular bodies? the texture has a width of 11pixel * 1024pixels, so i just use the correct height to display the right rectangular
texture, but how can i trimm the texture so that i can use it on the triangular body?

Thanks in advance


May 8, 2010 at 10:36 AM
Edited May 8, 2010 at 11:28 AM

So nobody has an Idea? I searched your discussion and found the Thread:

Could you pls. tell me how to create some buildings by using joints, especially which joint to use, and where to set its anchor(s)? thx NoobieNoob