Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Six66

Pages: [1] 2 3 ... 9
PlayMaker Help / Photon Stats GUI Understanding?
« on: April 22, 2020, 11:21:01 AM »
Hello, I'm trying to understand this photon stats gui.
I've looked at the link below, but I'm still confuse.

Are the Out and In numbers representing the messages counts?

Are those number for every message count from everyone in the room or isit just for 1 client and you have to multiply it by the number of client to get the total message going in and out?

thank you.

Share New Actions / Re: Arcing Projectiles To Target Position
« on: April 06, 2020, 03:19:36 PM »

 Very nice indeed! Few errors and things I'll correct before I put it on the Ecosystem, should be done this week.



thank you!

Share New Actions / Arcing Projectiles To Target Position
« on: April 03, 2020, 04:20:54 PM »
Hello, I just finish converting this scrip to Playmaker action and would like to share it with everyone. the script is from and they are much appreciated!

Code: [Select]
using UnityEngine;

namespace HutongGames.PlayMaker.Actions

    public class Projectile_to_target : FsmStateAction

        [Tooltip("Position we want to hit")]
        public FsmVector3 targetPos;

        [Tooltip("Horizontal speed, in units/sec")]
        public FsmFloat speed = 10;

        [Tooltip("How high the arc should be, in units")]
        public FsmFloat arcHeight = 1;

        public FsmVector3 nextPos;

        public FsmVector3 startPos;

        FsmFloat archfloat = -0.25f;

        [Tooltip("Repeat every frame.")]
        public bool everyFrame = true;

        // Code that runs on entering the state.
        public override void OnEnter()
            // Cache our start position, which is really the only thing we need
            // (in addition to our current position, and the target).
            startPos.Value = Fsm.GameObject.transform.position;

        public override void OnUpdate()
            // Compute the next position, with arc added in
            FsmFloat x0 = startPos.Value.x;
            FsmFloat x1 = targetPos.Value.x;
            FsmFloat dist = x1.Value - x0.Value;
            FsmFloat nextX = Mathf.MoveTowards(Fsm.GameObject.transform.position.x, x1.Value, speed.Value * Time.deltaTime);
            FsmFloat baseY = Mathf.Lerp(startPos.Value.y, targetPos.Value.y, (nextX.Value - x0.Value) / dist.Value);
            FsmFloat arc = arcHeight.Value * (nextX.Value - x0.Value) * (nextX.Value - x1.Value) / (archfloat.Value * dist.Value * dist.Value);
            nextPos = new Vector3(nextX.Value, baseY.Value + arc.Value, Fsm.GameObject.transform.position.z);

            // Rotate to face the next position, and then move there
            Fsm.GameObject.transform.rotation = LookAt2D(nextPos.Value - Fsm.GameObject.transform.position);
            Fsm.GameObject.transform.position = nextPos.Value;

        void Arrived()


        /// This is a 2D version of Quaternion.LookAt; it returns a quaternion
        /// that makes the local +X axis point in the given forward direction.
        /// forward direction
        /// Quaternion that rotates +X to align with forward
        static Quaternion LookAt2D(Vector2 forward)
            return Quaternion.Euler(0, 0, Mathf.Atan2(forward.y, forward.x) * Mathf.Rad2Deg);

PlayMaker Help / How to update Array vector element variable
« on: August 10, 2019, 09:40:17 AM »
Hi, I'm trying to figure out how to update this array vector 2 element field variables "red circle on the left" , is there a way to insert the vector 2 in each element in real time with playmaker?


Action Requests / Re: Photon RaiseEvent action
« on: July 25, 2019, 08:38:23 AM »
Sounds great, i was just curious because i read that is was better then sending lots of rpc  to sync lots of game object"zombies"

Action Requests / Photon RaiseEvent action
« on: July 24, 2019, 07:56:30 AM »
Hi, I'm looking for Photon RaiseEvent, i feel like its there, but not im bot sure which one isit.

I'd like to use raiseevent instead of rpc.

Can someone point me to it? Thank you.

PlayMaker Help / Re: Pun Photon demo room list with ugui?
« on: July 19, 2019, 12:03:31 PM »
Thank you Jean.

I will look into it, thank you.

PlayMaker Help / Pun Photon demo room list with ugui?
« on: July 18, 2019, 07:55:49 AM »
Hi, is there a demo that show room list with ugui? I see sample with the old gui, and I'm having a hard time trying to get it to work with the new ugui.

I'm using pun not pun2


Action Requests / Re: KIN SDK Action request would buy
« on: June 21, 2019, 01:15:50 PM »
Awesome!! just bought it, and will let you know how it goes when I get a chance to test it. Thanks you!

Action Requests / Re: KIN SDK Action request would buy
« on: June 16, 2019, 07:13:38 AM »
Great! I'll be picking it up asap once its approved.  There is a kin dev community on discord that are very active,  if you need help, they will be glade to answer your questions also.

Action Requests / Re: KIN SDK Action request would buy
« on: June 15, 2019, 08:40:49 AM »
Hi, any update?

Action Requests / Re: KIN SDK Action request would buy
« on: June 01, 2019, 12:17:22 PM »
Thanks for the update!

Action Requests / Re: KIN SDK Action request would buy
« on: May 31, 2019, 06:58:12 AM »
Would it be easier to just creat a file with all the functions and drag and drop it in playmaker? Get/set properties functions yourself instead of creating all the actions for it?

Action Requests / Re: KIN SDK Action request would buy
« on: May 15, 2019, 07:48:35 PM »
Amazing work! How can i get permission to send message in discord?

Action Requests / Re: KIN SDK Action request would buy
« on: May 11, 2019, 08:58:43 AM »
My man! Awesome looking forward to buying it!

Pages: [1] 2 3 ... 9