Hi, how can i make an animated swinging object collision area swinging with object. I'm attaching image link you can guess what i,m looking for. As you can see when it swings the collision area stays constant doent move along with object. Can anyone help me how can i acheive https://drive.google.com/file/d/0BxRAfmKijC7wYWZ4am1sTGZzYnM/view
Can you activate debug mode and send screenshot showing what you are seeing. I am assuming there are two parts to the swinging object - pole and spike head.
Maybe you want to describe a little bit more about the setup of your swing. I wanted to test your swing and therefore created one. The swing itself works for me as expected in terms the collision shape moves fine with the object. I just have a different weird results on the player: The object is resized (the collision shape still holds the right dimension, but the sprite is strangely resized) This is how it "should" look like: This is the connection with debug scope (the horizontal is a fixed platform, the ball is a wheel with 0 torque and speed connected to the platform, the handle of the hammer is physics platform type and the hammer head is a fixed platform type which is pushing the character (the ball) away if in contact): And this is the results on the player - everything works, the collision shape moves with the hammer head, but the sprite shape is not what I have set...: Anybody else has this? Did I do anything wrong?
On which of the object did you set the angular velocity? Also the solution is to link the object with the angular velocity to the swing spikes as the parent and that would work.
actually i have image which is animated the handle and spikes all are single image sprite which will animate. used spriter to create the animation image do i use individual image for spikes and chain or can i achieve with that animated sprite.
Did you find a solution this issue? I am trying to make a pendulum style object and having a similar issue.
I got it, i took a chain, a stick and the bottom pendulum. I gave angular velocity to stick position fixed and attached chain and pendulum to it. And when stick moves using logic transform changing angular velocity from positive to negative.