Different Collision effects at certain points of actor

Ok, let's say I have a battle ram as an actor.
And I want its front to have a different collision effect with the wall than its back.
I recall this was possible in Actionscript.
I tried this by "grouping" 2 actors into one here, hence my other thread there, like the vehicle as actor 1 and the hammer ram as actor 2. But there's an annoying delay for the hammer to reposition itself when you move the battleram's vehicle.
any ideas?
And I want its front to have a different collision effect with the wall than its back.
I recall this was possible in Actionscript.
I tried this by "grouping" 2 actors into one here, hence my other thread there, like the vehicle as actor 1 and the hammer ram as actor 2. But there's an annoying delay for the hammer to reposition itself when you move the battleram's vehicle.
any ideas?
Comments
Alternatively, you should be able to do it the way you were trying. I believe the delay in movement you are talking about is due to the order of operations in GS. I had a similar problem with a vehicle and its wheels (which were two seperate actors). There was always a delay on the wheels catching up with the body even when constrained to the body with offsets. I finally figured out what the problem was, the order of operations in GS between actors is bottom most actor (i.e, first actor placed on bottom most layer) has rules executed first, then second actor placed on bottom most layer, etc... until you get to the last actor placed on the topmost layer. Thus, what you need to do to fix this issue (assuming I am understanding your problem correctly) is to have the actor that controls the movement of your other actors beneath (in terms of layers and initial placement) the actors that are controlled.
But isn't there better ways than those?
In AS' flash, it's possible, let's say to assign a collision effect for specific pixel of the actor, the concept there called "Pixel-level collision detection".
Is there anything similar in GS?