playMaker

Author Topic: how to move object by float distance ??  (Read 289 times)

jaewook0813

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
how to move object by float distance ??
« on: February 11, 2020, 12:05:39 AM »
1st.. I'm not good English..(I'm korean)

anyway..

Moster throws Ball(like boomerang..).

Ball has to move to behind player and then go back to monster.

well...

I thought that need to get distance.(-> float value)

distance + 3(maybe...) = total distance (made by float operator)

So...

I hope the ball to move as total distance     z Axis...

Can you advice to me???

(Sorry about my English...  :'( )

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15210
  • Official Playmaker Support
    • View Profile
Re: how to move object by float distance ??
« Reply #1 on: February 11, 2020, 11:49:18 PM »
Hi,

 you could use a target dummy that you place directly at the end of the path, and then use move towards for your ball to catch up with that dummy.

 else, maybe physics would be better where you can apply force to throw the ball and then apply some inverted force to bring it back.

Bye,

 Jean

jaewook0813

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Re: how to move object by float distance ??
« Reply #2 on: February 12, 2020, 01:58:47 AM »
Hi,

 you could use a target dummy that you place directly at the end of the path, and then use move towards for your ball to catch up with that dummy.

 else, maybe physics would be better where you can apply force to throw the ball and then apply some inverted force to bring it back.

Bye,

 Jean

thank you.

I understand to make target dummy.

But,

"you place directly at the end of the path" -> i don't understand how to do this...  :'(


« Last Edit: February 12, 2020, 02:01:49 AM by jaewook0813 »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15210
  • Official Playmaker Support
    • View Profile
Re: how to move object by float distance ??
« Reply #3 on: February 14, 2020, 03:58:16 AM »
Hi,

 I mean: you place the dummy at "distance +3" from your player.


Bye,

 Jean