playMaker

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.


Topics - pigglet

Pages: [1]
1
Playmaker Help / Reconnect to prefab
« on: October 07, 2017, 10:23:22 PM »
Hey! Looks like I don't understand some very basic concept...

1. I have prefab with FSM
2. I drag-n-drop this prefab to the scene
3. The FSM is not working, instead i have "prefab disconnected" message
4. I'm switching manually "reconnect to prefab" and it starts to work.   

Why is it happening? Shouldn't it working without manual reconnecting? :o


2
General Discussion / Unity Machine Learning
« on: September 19, 2017, 05:12:50 PM »
Did you guys see fresh unity announce about machine learning? It's awesome! So much possibilities. I hope the playmaker will support it too  ;)

https://blogs.unity3d.com/2017/09/19/introducing-unity-machine-learning-agents/

3
Playmaker Help / Normalize sliders.
« on: September 17, 2017, 09:49:45 AM »
Hey, guys! It should be a default knowledge for a real programmers, but i'm not, so i'm here,  asking for help  ::)

How can I normalize bunch of sliders in realtime? So the sum value of all sliders not exceed the 1. For example I have 3 sliders with [0..1] range with zero position.
1. Moving first to 1 -> all other stay at zero
2. Pushing second to .5 -> first one automatically sliding to .5 too
3. Pushing third to .5 -> first and second sliding to .25   
 

4
Playmaker Help / get local Rotation
« on: August 19, 2017, 10:42:48 AM »
Looks like a simple question, but I stuck. How can I get the local rotation of the object like it is shown in the inspector? For example it rotates from -10 to 10, how can I just get this numbers, instead of all this eulerquaternionstuff

5
Playmaker Help / PUN: can't rejoin room
« on: August 14, 2017, 01:57:03 PM »

Here is my very simple setup:

1) network connect
2) create room with player ttl 60000 and no cleanup cache
3) leave room
4) rejoin the room

It seems to work, when the second player connected to the same room, but if I'm the only player who create and than leave the room - it's deleted immediately on leaving. Why it's happen? Shouldn't the room stay alive for 1 minute?

6
Playmaker Help / PUN turnbased: impossible with playmaker?
« on: August 14, 2017, 01:33:58 PM »
I'm trying to understand the turnbased PUN mechanics and for now I thought it's impossible with playmaker, am I right?

Here is the basic concpet from the photon doc: https://doc.photonengine.com/en-us/pun/current/manuals-and-demos/rockpaperscissors-demo#do_s_and_don_ts

It says Don't use PhotonView components but the PhotonView is the base tool for integration Photon and playmaker, right?

7
Playmaker Help / Choosing strategy: need help
« on: August 09, 2017, 09:30:24 AM »
Hey! Technically, it's not a playmaker only question, but I hope it's  good place to take some advises.

I'm willing to make a kind of network rock-paper-scissors game. Main logic should be like this:
1) player can create/login account on the server
2) choose another player from the online list and send him (send to server )his "strike"
3) second player got message, he got striked and send own "move" back
4) server match it and send both of them results: who is winner/loser

Do I need some unet/photon solutions, or it's better to have a php/mysql web database and clients connect directly to it?

Maybe the server should be on php too, but I'm not good with code, so I'm willing to keep all the logic in the unity (it will be more complex, than just match rocks with paper). Is it a good decision to make a "server" that will connect to the same database and looking if he need some job to do? Or maybe I'm missing some simple, obvious solutions?

8
Playmaker Help / Mirroring animation [SOLVED]
« on: March 24, 2017, 11:50:06 AM »
Hey guys! Is there a way for mirroring the mecanim animation on the go? The only way I found for now is having a 2 separate animator with and without mirroring  :-\


9
Playmaker Help / Get Vector Length
« on: March 02, 2017, 04:12:48 PM »
Is it some reason why the action Get Vector Length don't have a checkbox Every Frame?

I've added a standard checkbox + OnUpdate() function to the GetVectorLength.cs and it works fine  :)

But I'm afraid I could forget about it and it will be rewritten with the default function after the Playmaker update. Maybe it's possible to make this small edit a default?

10
Playmaker Help / Color HSV actions
« on: February 18, 2017, 06:10:16 PM »
Trying to download a HSV color actions and get a bunch of errors. Are they no more compatible with modern Unity versions (i'm using 5.5) or did I just doing something wrong?


11
Playmaker Help / Hash table Get Next/Previous
« on: February 17, 2017, 01:09:50 PM »
Hey! Seems like a basic thing, but i'm stuck. There is a functions for array to Get Next/Get Previous, but only Get Next for the hash table. I tryed to make a similar function replacing i++ to i-- in the source code, but in some cases it works and in some cases don't. Is it a way to make a proper Hash table Get Previous node?

12
Playmaker Help / PoseSpaceDeformation management[SOLVED]
« on: February 09, 2017, 03:33:33 PM »


I'm making a character where corrective blendShapes are driven by the bones angels. For example: if left_thigh bone change rotation from 360 to 270 - left_thigh_correction shape should change value from 0 to 100.

I understand, that my main action is "get property" for taking the angle and "set blend shape weight" for driving blends. And it works perfectly. But I'm not sure how exactly I can connect the values? For now I'm thinking about building a complex state that do actions like: 360-270 = 90; so i need some coeff to match 0..100 to 0..90, and if angle is 360 the first value should... and so on.

But I'm sure there should be very simples solution to match two ranges. Any advises?  ???

Pages: [1]