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):
( http://www.bilder-space.de/show_img.php?img=894c96-1273238060.png&size=original )
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