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 - miguelfanclub

Pages: [1]
1
So my camera has mouse look. Im calling a global event to stop it when i want, like when showing an UI pop up window.

Probem is that when i come back via global event to continue doing mouse look action, it randomly rotates the camera exactly 60º, which is the value of the maximum X field.

You can see mouse look working. When I trigger the UI, I stop it. When I click on the continue button, i call it again, but most of the times, i get the annoying rotation.

In the video you can see it fails, but then after sec 10, it works a couple of times   (cam doesnt rotate when i call again mouse look)

https://youtu.be/933g6MddVUw

2
Playmaker Help / GET FSM Variable [SOLVED]
« on: September 22, 2017, 05:20:44 AM »
Just to be sure:

Im not using global variables at all, so in order to use a variable value in another FSM I always get its value and store it in another local variable.

Question is: Can this local variable where im storing the variable that i get from another FSM have the very same name?

Like im getting a variable called "Answered" from FSM A and im storing it on a variable called "Answered" in the FSM B. Both of them locals of their own  respective FSMs

Thanks

3
Im getting this annoying glitch trying to overlay world screen icons on top of my prefabs.
Is there a way to overcome this?

https://youtu.be/_xau3N3c0Z8

Or a better way to achieve it

Thanks

4
Playmaker Help / Loosing actions dependencies with prefab[SOLVED]
« on: September 11, 2017, 11:41:15 AM »
So I have a charctaer controlloer that holds all the information I need as a prefab.
I also have other prefabs that ask infotmation from character controller (variables) and also send events to him.

So when I create a new scene and place the character controller all is good. But when I add the other prefabs, then they loose some conections (reference objects that holds variables mostly) and then I have to reconect everything again.

Is this the expected behaviour? I never use global variables so I always use the get varibale in order to operate with them. Those are the fields where I loose the conections.

Thanks

5
Playmaker Help / Camera Rotation Problem [VIDEO] [SOLVED]
« on: September 10, 2017, 03:25:55 PM »
Hi again.

Im improoving my character movement.
Character is moving 4m in fixed movement and rotating 90º everytime you rotate.
It works perfectly using the keys.

Now Im trying to rotate the character also by moving the camera towards the edges of the screen (i have a tolerance to not to be too intrusive) so the character and the camera will auto rotate and player will be looking again to the center (0.0.0 self)

It works pretty well, but I have annoying behaviour that I cant fix.

I think its related to the mouselook script that the camera has attached.
I can reproduce the bug if I move the mouse while the "auto movement" is taking place. During the movement, "mouselook" is deactivated and I also control that no keys can be pressed, when movement is ended, "moselook" is again activated.

I could be sure if i can totally "disconect" the mouse imput while the movement is happening. Dont know.

In sec 10 you can clearly see what happens, also on 30.

Video Link:
https://youtu.be/ySxyfy1pkcg

Also, the scene doesn work when I build it (i cant rotate at all) so something must be wrong...
Any Idea?
Thanks!

6
Work In Progress... / Templar
« on: September 10, 2017, 02:12:26 PM »
Just showcasing whats going on with my project, used to keep learning and motivating myself.

Its a game I designed time ago. An FP Dungeon Crawler with turn based combat.
Enemies are going to be fully PBR 2D Images showing front/side/back sprites.
Im doing everything, coding and art  8)

(Old mockup)


Turn Based Combat mockup



UI mockup




7
I have no steps to reproduce. Just been working the whole day on my project.... the editor has been becoming slower and slower. Now, whatever I do on the State Tab im getting like 2-3 secs lag: Unfolding actions, writing names on any label etc (each letter I type I have lag)

Also, Im getting weird acting. Things that worked stoped to work , things that they should really work now they dont.

Restarting doesnt help

I have also noted that some users experienced this in the past and was related to unfolded actions. Is not my case, using control to fold them all doesnt fix the lag.

My Unity version: 2017.1.0f3
Playmaker version: 185f8

Is anyone experiencing this?

8
Hi, trying to rotate the camera with the itween actions and I cant. Im doing it from other object using the Specify Game Object option and seems to fail, also with some of the actions.

"Rotate Add" works but its not what im looking for, "rotate to" doenst work as well as a bunch of other actions

"Rotate to" works  when its on "Use Owner" for exmaple

Am I missing something?

9
Playmaker Help / Pathfinding grid based with discrete movement
« on: September 08, 2017, 08:01:47 AM »
Can someone point me the best way to do a "simple" path finding method in order to achieve my enemies movement?

  • Its FP Dungeon Crawler style, moving every 4m and 90º turns (eye of the beholder style)
  • Could I use navmesh and then, somehow clamp the result to use the grid movement?
  • Should I go with the A* one here? http://hutonggames.com/playmakerforum/index.php?topic=2540.0 In my case i dont need to generate the grid as it will be every floor piece, I will be only using the actions to move
  • Any other package in the store that you might think would work?

Thanks!

10
Playmaker Help / Object hitted[SOLVED]
« on: August 31, 2017, 10:43:35 AM »
Hi,

raycasting forward from camera on a specific layer. Storing hit on a game object variable. It works, meaning that I get what has been hitted on the variable.

Now, what would be the best option to know that the hitted object knows he has been hitted?

Is there a "am i been hitted" action?

I know I can do it by a Get Name Action and then do a compare string to check if the object has been hitted but Ive been told comparing string is a really bad practice, specially if its every frame.

What would be the best practice here?

cheers


11
Playmaker Help / Ecosystem uGui and unity 2017
« on: August 19, 2017, 08:12:40 AM »
Im runing latest unity and playmaker versions (no betas)
Importing ugui proxy gives me compiler error.

Since I havent touch playmaker since 2016, would like to make sure if its still the way to go for ugui or if there is another way nowadays.

Thanks

12
Playmaker Help / Mouselook with camera (again)
« on: November 12, 2015, 03:18:19 AM »
Im moving my camera along predefined spots. Once the camera moves, I want to use mouselook action as a LookAt for the the main camera.
The camera angle reset everytime the action is triggered and Z rotation is reset to 0 also.
I Have tried a modified version of the action from here http://hutonggames.com/playmakerforum/index.php?topic=1719.0
that fixes the angle reset on the start, but still, the Z rotation goes to 0.

I have also tried to to group the camera into a box to have the camera I want but with a 0,0,0 parent in rotation. Doing that, the action simply doesnt work.

If anybody knows how to do a simple LookAt with playmaker, please share that knowledge. If there is something Im doing wrong, feel free to point that out. If you know a package with that feature in the asset store that works with playmaker feel free to tell me.

Pages: [1]