playMaker

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

cel

  • Junior Playmaker
  • **
  • Posts: 96
    • View Profile
request - calculate trajectory asset actions
« on: August 22, 2017, 06: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: 730
    • View Profile
Re: request - calculate trajectory asset actions
« Reply #1 on: August 22, 2017, 09:13:20 AM »
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, 09:18:15 AM by tcmeric »

cel

  • Junior Playmaker
  • **
  • Posts: 96
    • View Profile
Re: request - calculate trajectory asset actions
« Reply #2 on: August 22, 2017, 01: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: 730
    • View Profile
Re: request - calculate trajectory asset actions
« Reply #3 on: August 22, 2017, 06: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.