Playmaker Forum

PlayMaker News => General Discussion => Topic started by: jaewook0813 on February 11, 2020, 02:05:39 AM

Title: how to move object by float distance ??
Post by: jaewook0813 on February 11, 2020, 02: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...  :'( )
Title: Re: how to move object by float distance ??
Post by: jeanfabre on February 12, 2020, 01:49:18 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
Title: Re: how to move object by float distance ??
Post by: jaewook0813 on February 12, 2020, 03: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...  :'(


Title: Re: how to move object by float distance ??
Post by: jeanfabre on February 14, 2020, 05:58:16 AM
Hi,

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


Bye,

 Jean