How to: Shoot to specific point, but continue moving?
DrGlickert
Member Posts: 1,135
How do you shoot to a specific point but continue the projectile at a constant speed?
I've checked out how to shoot to a specific point tutorial (with game.attributes of game.mouseX and game.mouseY then on the individual actor placing a MouseX and MouseY self.attribute on them).
But I want the projectile to continue (and collide with collidable objects)
I've tried MOVE TO, ACCELERATE TO, INTERPOLATE, CHANGE VELOCITY, and I think, just about everything, but can't seem to figure out how to find a constant speed...
I've checked out how to shoot to a specific point tutorial (with game.attributes of game.mouseX and game.mouseY then on the individual actor placing a MouseX and MouseY self.attribute on them).
But I want the projectile to continue (and collide with collidable objects)
I've tried MOVE TO, ACCELERATE TO, INTERPOLATE, CHANGE VELOCITY, and I think, just about everything, but can't seem to figure out how to find a constant speed...
Comments
"Shoot to Mouse Position and Beyond"
Search for it in the new section of the GS start screen.
Enjoy!
1 quick question; if I want the bullets to move a constant speed that's possible right? Just put on max velocity?
is this you?http://www.drglickert.com/
DL
He told me he'd do it for free, said he knew what he was doing, took on the reigns and never finished it.
Oh well.
I'm going to Med school in August so hopefully he'll have that updated by then!