playMaker

Author Topic: Actions I missed or didn't find  (Read 3602 times)

GameForger

  • Playmaker Newbie
  • *
  • Posts: 1
Actions I missed or didn't find
« on: January 08, 2013, 12:14:53 PM »
Hello I'm new to PlayMaker and love it ;D
Trying to wrap my head around everything here are some Actions I missed(or didn't find):


Material:

1.) Get Material Color
2.) Set Specular Color


Math:

3.) MOD Operation http://en.wikipedia.org/wiki/Modulo_operation
"In computing, the modulo (sometimes called modulus) operation finds the remainder of division of one number by another."

Example:
5 Mod 2 = 1


Transition:

4.) Move Distance along Vector3

I tried it with get "Rotation" and "iTween Move By" or "Translate" but couldn't make it work for me.
 

Input:

5.) Mouse Look infinite

Setting Max and Min to none displays an Error but seems to work though.



So thank you playMaker, coding is a bit easier for me now :)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Actions I missed or didn't find
« Reply #1 on: January 17, 2013, 02:11:24 AM »
Hi,

 ok, few things:

1: get Material Color: http://hutonggames.com/playmakerforum/index.php?topic=1996.0

2: it's there already in the official actions: "Set Material Color"
then you simply put "_SpecColor" for the color name
http://docs.unity3d.com/Documentation/ScriptReference/Material.SetColor.html

3: Int Modulo: http://hutonggames.com/playmakerforum/index.php?topic=2964.0

4: can you explain what you want to do here? I think a simply translate action would do here.

Mouse look infinite. What do you mean?

bye,

 Jean