playMaker

Author Topic: TransformMoveProjectile  (Read 3185 times)

skipadu

  • Playmaker Newbie
  • *
  • Posts: 43
  • Learning continuously
    • serialkamikaze.itch.io
TransformMoveProjectile
« on: April 03, 2018, 04:11:01 PM »
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.
« Last Edit: April 04, 2018, 11:34:23 AM by skipadu »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: TransformMoveProjectile
« Reply #1 on: April 04, 2018, 02:57:51 AM »
Hi,

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

 Bye,

 Jean

skipadu

  • Playmaker Newbie
  • *
  • Posts: 43
  • Learning continuously
    • serialkamikaze.itch.io
Re: TransformMoveProjectile
« Reply #2 on: April 04, 2018, 11:03:16 AM »
Hi,

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

 Bye,

 Jean
Okay, I will put it also there :)

craigz

  • Beta Group
  • Full Member
  • *
  • Posts: 234
    • Haven Made
Re: TransformMoveProjectile
« Reply #3 on: April 24, 2018, 03:32:47 PM »
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

  • Beta Group
  • Full Member
  • *
  • Posts: 234
    • Haven Made
Re: TransformMoveProjectile
« Reply #4 on: April 24, 2018, 04:01:08 PM »
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
« Last Edit: April 24, 2018, 05:04:28 PM by craigz »