Triangle Actor Collision Behavior

Hi there, in my game i have a triangle shaped actor, but my actor is shaped and behaves as a square when colliding with other objects. Due to this, it does not look realistic when my actor collides with other objects, because it does not really collide with the actual picture (not well explained) :P
Is there any way i can make my character behave like a triangle when colliding with other objects??
Someone please help !
Thx
Is there any way i can make my character behave like a triangle when colliding with other objects??
Someone please help !

Thx
Comments
Youll have to make a triangle out of rectangle actors and have those act as the collisions
cheers
Is it possible to make serval rectangle actors and kind of merge these together as one actor?
If this is possible, how do i do it??
"i meant to use the mini rectangles to do the colliding thing so i wont look like the other actors collide with nothing"
The idea of building a composite collision shape is really only practicable for static objects or objects that do not rotate.
http://www.mediafire.com/?fdwccdw7cl0pf30
You can also use the mouse to drag.
This is really only a partial solution though. Constraining actors x/y positions overrides GameSalad's physics engine. To really get it to work like you want, you would need to use these formulas but not with constrain behaviors.
RThurman
http://www.mediafire.com/?gaa2846cz2j8agx
Any thoughts on how to get the three sides to react to objects? As your demo shows, objects can collide with constrained actors. But constrained actors cannot collide and/or bounce off of other objects. (This is really the same question you had several days ago with your 'hammer' example, I believe.)
RThurman
Yep, same question, not sure there is a workable answer to be honest.
So far I would agree. There are some work arounds, but they are not for the faint of heart, and the results are not all that great. GameSalad really needs a joint system to do this well.