Keeping collisions the same when keeping actor images from changing sizes (during animations?)
Muphins
Member Posts: 7
Hello
Let me give you an example. Let's say "O" is a person. And, the "[ ]" surrounding the "O" is the collision.
So basically, our person is [O].
However, we want to do an animation. We want his arm to stick out. Our result: [O-]
But wait, let's analyze the problem with this.
[O] animates to [O-]...oh no the actor image size changed!!! Let's fix it...
Our new person:
[O ] (the collision is an opaque background btw)
Therefore, when the person animates, the result is:
[O ] animates to [O-]...the actor size didn't change!
Problem solved!...but is it really? Not in the slightest.
Let's say "l" is our wall. The person collides with the wall. Using our NEW person, this would be our result:
[O ] l <---- the person colliding with the wall
[O-] l <---- the animated person colliding with the wall
So, our actor size didn't change, and properly collides with the wall. That's what we want, correct? No. We want precise collision without the trade off and making the opaque background. In other words:
[O] l <----- FIRST person colliding with wall
[O-] l <---- ANIMATED person colliding with wall...
WITHOUT THE IMAGE SIZE CHANGING.
Is this too much to ask for? This is going to give me a heart attack if I have to keep changing the opaque background and constantly reimporting images. Simply put, I can't anticipate my largest animation! I come up with ideas as I go along, that's how I work. I don't want to have to change EVERY SINGLE animation image for the sake of keeping the image size the same when animating.
Thanks if anyone has the solution to this.
Let me give you an example. Let's say "O" is a person. And, the "[ ]" surrounding the "O" is the collision.
So basically, our person is [O].
However, we want to do an animation. We want his arm to stick out. Our result: [O-]
But wait, let's analyze the problem with this.
[O] animates to [O-]...oh no the actor image size changed!!! Let's fix it...
Our new person:
[O ] (the collision is an opaque background btw)
Therefore, when the person animates, the result is:
[O ] animates to [O-]...the actor size didn't change!
Problem solved!...but is it really? Not in the slightest.
Let's say "l" is our wall. The person collides with the wall. Using our NEW person, this would be our result:
[O ] l <---- the person colliding with the wall
[O-] l <---- the animated person colliding with the wall
So, our actor size didn't change, and properly collides with the wall. That's what we want, correct? No. We want precise collision without the trade off and making the opaque background. In other words:
[O] l <----- FIRST person colliding with wall
[O-] l <---- ANIMATED person colliding with wall...
WITHOUT THE IMAGE SIZE CHANGING.
Is this too much to ask for? This is going to give me a heart attack if I have to keep changing the opaque background and constantly reimporting images. Simply put, I can't anticipate my largest animation! I come up with ideas as I go along, that's how I work. I don't want to have to change EVERY SINGLE animation image for the sake of keeping the image size the same when animating.
Thanks if anyone has the solution to this.
Comments
do you want to image size to change or just one object or not at all?
Just a little confused, I know how frustrating this can be.
During animations, when the initial image changes to a different image WITH different dimensions, the different image distorts its dimensions to the initial image. I do not want this.
I want to make sure all images have their respective sizes. Otherwise, the initial image's collision will be off.
I hope that helped...
You could constrain your actor with the image to an invisible actor that handles the collisions, but this wouldn't really help with changing collision shapes which is what you really need for this kind of thing.