playMaker

Author Topic: Hello! I want to ask how can I use Playmaker to get Rigidbody.AddForce function  (Read 1665 times)

naktim0819

  • Playmaker Newbie
  • *
  • Posts: 44
Hello! I want to ask how can I use Playmaker to get  Rigidbody.AddForce function

http://docs.unity3d.com/ScriptReference/Rigidbody.AddForce.html

Is that have any PM action can let me get that?

https://www.youtube.com/watch?v=ZKDkwqyiEXs
That's what I am doing
I want the ball can be thrown out

Or have any other better way

Thanks Plz help me!
                                                                                   Tim

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
There's an "Add Force" action
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

naktim0819

  • Playmaker Newbie
  • *
  • Posts: 44
There's an "Add Force" action


But this Add force is given directly to the force of a direct
Not based Rigibody arising out of the relative strength

Is to be able to call .addforce Rigibody arising out of the bottom of the relative strength

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Hi,

 I don't think forces are used in this video, instead the ball is jointed to the handle, and when the user release the ball, it's simply unjointed and let free, because it already had mometum while attached to the handle it will carry out a realistic trajectory.

You should instead study drag and drops of RigidBodies instead of AddForces in the case.

Bye,

 Jean