playMaker

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

shantaram

  • Playmaker Newbie
  • *
  • Posts: 1
wheel collider access.... [SOLVED]
« on: December 16, 2011, 07: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, 07:11:02 PM by alexchouls »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: wheel collider access....
« Reply #1 on: December 16, 2011, 01:07:01 PM »
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!