playMaker

Author Topic: request - calculate trajectory asset actions  (Read 1786 times)

cel

  • Full Member
  • ***
  • Posts: 132
request - calculate trajectory asset actions
« on: August 22, 2017, 09:58:37 AM »
hi guys,

would someone be able to make actions for this free asset https://www.assetstore.unity3d.com/en/#!/content/84341
namely get/set time between step, step count, added v, added f and instead of key to activate have an event to activate?

Thanks in advance,

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: request - calculate trajectory asset actions
« Reply #1 on: August 22, 2017, 12:13:20 PM »
I wrote actions for this projectile asset: https://www.assetstore.unity3d.com/en/#!/content/47750

Actions here: https://github.com/dumbgamedev/projectileHelper-playmaker

I make a tutorial on launching projectiles with playmaker (in the second half, I talk about path prediction lines).
(My tutorial does not use the asset above however).
« Last Edit: August 22, 2017, 12:18:15 PM by tcmeric »

cel

  • Full Member
  • ***
  • Posts: 132
Re: request - calculate trajectory asset actions
« Reply #2 on: August 22, 2017, 04:04:31 PM »
@tcmeric tried it but it doesn't fit my situation (neither the free asset I requested actions for). I have 2 spheres and I control the 1st one, I can rotate it around and launch it... I need to predict before launching the 1st sphere where the second sphere will go if hit by the 1st sphere... not sure this can be done with these assets... if it can be done could you please post an example?

Thanks in advance

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: request - calculate trajectory asset actions
« Reply #3 on: August 22, 2017, 09:49:49 PM »
Sorry, I dont know how to do that. It would certainly require first calculating the collision and then drawing the prediction line after that. I wonder how much CPU that would take to make those kind of continuous collision predictions.