var PProjectile = pc.createScript('pProjectile');
// initialize code called once per entity
PProjectile.prototype.initialize = function() {
};
{entity.
// update code called every frame
PlayerProjectile.prototype.update = (function )
// swap method called for script hot-reloading
// inherit your script state here
// PProjectile.prototype.swap = function(old) { };
// to learn more about script anatomy, please read:
// https://developer.playcanvas.com/en/user-manual/scripting/
@Jacob_Jack Are you trying to shoot this projectile using physics? The code above does not offer much information about application. Could you provide some more information? Maybe this example will help.