Newbie help
deaddirtyd
Member Posts: 27
Hi all,
I'm totally new to GS and I would like to find out if any one can help.
I have a character constrain to and I have a crosshair constrain to x as well, I would
like to have the crosshairs y value (distance) to be controlled by a fire button.
In short the longer you hold in the button the further the crosshair moves from the character, and after my projectile is launched for the crosshair to return to it's original position.
Any help would be much appreciated
I'm totally new to GS and I would like to find out if any one can help.
I have a character constrain to and I have a crosshair constrain to x as well, I would
like to have the crosshairs y value (distance) to be controlled by a fire button.
In short the longer you hold in the button the further the crosshair moves from the character, and after my projectile is launched for the crosshair to return to it's original position.
Any help would be much appreciated
Comments
When fire is pressed change linear y velocity to _.
When fire is released change linear y velocity to 0 and latch projectile(whatever way you've set it up to) and change y position to _.
thanks so much for the reply, i had some free time today and managed to sort it out very simillar to the way you've explained(with a whole bunch of attribute changes) and it seems to be working.
thanks
again