PlayMaker Updates & Downloads > Share New Actions

TransformMoveProjectile

(1/1)

skipadu:
In the Playmaker's Slack-channel question was made how to move projectile in an arc without using physics.

I found a great post from the Unity's forum by Stephan-B. So this action is almost the same, only with some slight modifications.


* You set the start position for the projectile.
* Set destination for the projectile
* Give angle for movement
* Set gravity; bigger gravity -> more speed
* Set the actual projectile that will be moved
* Set event to send when movement is ready (optional)
* Give variable to store the distance travelled (optional)

Waiting to be merged to Ecosystem's repository.

jeanfabre:
Hi,

 no, it's fine :) it can go on the ecosystem!

 Bye,

 Jean

skipadu:

--- Quote from: jeanfabre on April 04, 2018, 02:57:51 AM ---Hi,

 no, it's fine :) it can go on the ecosystem!

 Bye,

 Jean

--- End quote ---
Okay, I will put it also there :)

craigz:
AH! This is SO useful! Thank you for making this!

I remember raiding his exact post thinking huh.. I should see if I can convert this to an action, and just never did xP

-craigz

craigz:
Sorry for the double post ;)

Also might be good to include a vector destination that can be used? (either in offset or in place of target?)

*EDIT: Also! Looking at the code it *looks* like it should be rotating to the direction of movement, but doesnt look like it is? xD

-craigz

Navigation

[0] Message Index

Go to full version