playMaker

Author Topic: 2D physics of Arrow rotate  (Read 1153 times)

qaaz345

  • Playmaker Newbie
  • *
  • Posts: 39
2D physics of Arrow rotate
« on: November 11, 2018, 09:35:50 AM »
Sorry I am not good at English.

Please let me know arrow physics how to make using playmaker.
It is better if you have a demo.
« Last Edit: November 11, 2018, 09:51:07 AM by qaaz345 »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: 2D physics of Arrow rotate
« Reply #1 on: November 12, 2018, 01:12:18 AM »
Hi,

 Get the velocity of your projectile ( as a vector3), and align your projectile transform to it.

http://hutonggames.com/playmakerforum/index.php?topic=12490.msg58304#msg58304

Bye,

Jean


djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: 2D physics of Arrow rotate
« Reply #2 on: November 12, 2018, 06:15:24 PM »
Hi.
You might also want to have a look at the 'Shoot Missle' sample on the Ecosystem

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: 2D physics of Arrow rotate
« Reply #3 on: November 13, 2018, 12:06:25 AM »
Hi,

 Thanks Kurt! I forgot to get back to this thread which was the starting point for me to do that sample!

Way to go!!

 Bye,

 Jean