Apply the same bump movement to the entire sculpture?
This is on a 2D plane.
There is a specific arc of movement I want when a box hits a stick. Basically, mostly high up in the air and to the right a little bit. A nice, clean arc. It does this when the box impacts the top of the stick (basically the starting position where everything is already perfectly lined up).
However, as the game continues and I am moving the stick if the box impacts on anything but on top of the stick the resulting movement has the box flying in the direction from the position of the impact.
How do I go about making sure that no matter where the box might hit the stick (top, sides) the box follows the same values (and thus arc) I have input?
-
Sorry, just to correct myself it is touching impact. Not bump impact. For whatever reason bump impact produces no impact movement (despite it all being wired up to do so).
-
Are you using a mover of some kind or a keyframe to create your arc?
Keyframes lock an object's position when they're moved, so you'll want to use a mover or force applier, or something along those lines if your stick is moving around the level -
It's attached to an advanced mover and in that I have values of 12 for Y (so it goes high up) and 0.5 for X (so it goes slightly to the right).
And this creates a nice arc I want to achieve. The problem - as far as I understand it - is that the physics / collisions of the box or / and stick can mess with these values depending on where impact is made.
So, when the box hits anything other than directly on top of the stick the arc of the box can be huge.
I basically want to remove that variation. Any part of box hitting the left side of the stick should have no influence on the arc I want to achieve.
There also seems to be an issue with velocity?
I'm doing it so I have two sticks. The left stick sends the box in an arc to the right and the right stick sends the box in an arc to the left.
The problem is the longer I play, if the box is arcing to the right for too long then using the right stick to arc it left does not work. The box keeps arcing right with every impact until it has been hit enough times with the right stick to slow down its arc and eventually send it in an arc to the left.
I don't really understand why that is happening.
iniciar sessão para comentar.