playMaker

Author Topic: wheel collider access.... [SOLVED]  (Read 3293 times)

shantaram

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
wheel collider access.... [SOLVED]
« on: December 16, 2011, 05:56:28 AM »
hi Guys,

First off, I have to say that I don't own Playmaker yet...I've been reading the documentation and am very interested in getting it, just haven't done much with state machines and am curious about how it integrates with Unity.

I've been looking at this tutorial http://carpe.com.au/slawia/2009/08/unity-wheel-collider-part-2/
and was wondering how you can control parameters that aren't listed in the editor; for example, he uses a script that accesses two parameters for applying torque, that don't show in the wheel collider parameters.

Is this something that the new gameobject variable is for in playmaker 1.2?

Also, I take it Playmaker works both with the Indie and Pro version?

Thanks,
Rob
« Last Edit: December 20, 2011, 05:11:02 PM by alexchouls »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3632
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: wheel collider access....
« Reply #1 on: December 16, 2011, 11:07:01 AM »
You can use the new Get Property and Set Property actions in 1.2 combined with the Object variables to access most component properties. See attached image for an example.

Yes, Playmaker works with Indie and Pro versions!