playMaker

Author Topic: set Max Forward Speed in Character Motor (Script)[SOLVED]  (Read 1958 times)

mikejkelley

  • Full Member
  • ***
  • Posts: 136
    • View Profile
set Max Forward Speed in Character Motor (Script)[SOLVED]
« on: November 10, 2013, 02:30:02 AM »
Hi, I want to control the Max Forward Speed in the Character Motor (Script) using a float parameter in Playmaker. I dragged the Character Motor (Script) into the state and selected Set Property, but nothing relating to speed is available from the resulting Property drop down menu. What am I missing? Thanks as always kind Playmakers! :)
« Last Edit: November 11, 2013, 02:34:37 PM by mikejkelley »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14593
  • Official Playmaker Support
    • View Profile
Re: set Max Forward Speed in Character Motor (Script)
« Reply #1 on: November 10, 2013, 11:12:11 PM »
Hi,

 For this you need a custom action that you can find here:

http://hutonggames.com/playmakerforum/index.php?topic=3556.msg16386#msg16386


Set/get Property doesn't give you access to complex nested classes like the one used on CharacterMotor.js. Hopefully future release of PlayMaker will give access to this.

bye,

 Jean

mikejkelley

  • Full Member
  • ***
  • Posts: 136
    • View Profile
Re: set Max Forward Speed in Character Motor (Script)
« Reply #2 on: November 11, 2013, 09:28:54 AM »
Cool, thanks!