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

Pages: [1] 2 3
1
PlayMaker Help / Array values not updating when using Get Next
« on: September 01, 2019, 11:16:56 AM »
Hi I can't get array values to update and I'm just curious if this is a known issue. I've tried with an Int array and a Bool array. Changes made using Array Get Next (set all bools to True, or Add 1) do not update the values in either array. And I don't think it's a Unity display issue because the scene also reacts to the new values as if they're unchanged. I tried adding the "Array Save Changes" action between every step with no effect.

You can see in this screenshot that curiously the value (+1 added to an Int of 0) updates in the "Result" variable but not in the array itself. Apologies if I'm missing something obvious.

Unity 2018.2.19f1
Playmaker 1.9.0 p18
OS X 10.14.5

2
Action Requests / Action to set Particle Velocity?
« on: July 02, 2019, 12:07:59 PM »
Hi I'm looking for an Action that can set the "Velocity Over Lifetime" property of a Particle System. Does that already exist somewhere? I didn't see anything on ecosystem.

3
Hi, I'm updating a Unity 5.3.5 project made with Playmaker to Unity 2018. This scene was using "Set Property" states to animate an Ellipsoid Particle Emitter from the deprecated legacy particle system. These FSM states see the emitter component, but now the "Property" within Set Property is just set to "None" and the dropdown doesn't list the properties of the emitter. Is there any way to get Playmaker to "see" these properties again?

4
PlayMaker Help / Array Contains update order?
« on: April 02, 2019, 07:20:15 AM »
Hi I'm having an issue with Array Contains index properly updating. I have a variable updating Every Frame that Array Contains checks for, but the Index position does not update (despite the Value correctly updating). This is all within one state.

However, if I add a second state only containing a Wait action (time 0.01), this two state loop causes the Index number to correctly update within Array Contains. Does Array Contains need to be Late Update? I'd just rather avoid using these kinds of loops.

5
PlayMaker Help / Instance material at runtime?
« on: October 15, 2018, 06:47:41 AM »
Hi, is there a way to instance a material at runtime? I'm in a situation where it makes the most sense to use sharedMaterial, but that has the annoying problem of actually modifying the mat file in Assets. It doesn't reset on exiting playmode.

What would be ideal is to instance the material at runtime, then sharedMaterial changes can be applied to the instance, which would then revert back on exiting Play mode.

Basically looking for a Playmaker version of Spikeh's solution here:  https://answers.unity.com/questions/396347/how-to-stop-renderersharedmaterialsetcolor-writing.html

6
PlayMaker Help / Add objects to array. Basic best practices?
« on: October 02, 2018, 07:16:29 AM »
Hi, I'm new to arrays. I have 12 cubes in a scene that I'd like to add to an array that's inside a manager gameobject. So at runtime, I guess I'd put on fsm on each cube that told it to add itself to this array. There doesn't seem to be something like "Array Add FSM" that lets you add to an array on another GO.

I usually try to avoid global variables, but is making the array variable global what you'd do here? Or is there an easy way to do it without globals? Also, I'm currently mainly looking at the built-in "Array" actions. Should I be using arraymaker instead?

7
PlayMaker Help / Handheld camera effect?
« on: July 28, 2018, 07:58:17 PM »
Hi, I'm curious how to use playmaker to add a constant subtle random motion to a camera, as if handheld. I'm probably missing something obvious but I can't find an easy way to offset a position within a range relative to the camera's current position.

I tried applying perlin noise to the Y axis of the camera's position in "Self" space, but because it's always based on the last position, the noise causes the motion to slowly go out of control over time.

8
Hi, sorry if I'm missing something obvious. I just want the FSM Owner to be able to store *itself* as a Gameobject Variable. Is there a way to do that?

9
PlayMaker Help / Animated mouse cursor?
« on: June 23, 2018, 08:58:32 AM »
Hi, I don't work with GUI elements often and I was wondering if someone could suggest a very basic workflow for having an animated cursor. Something simple like: The player moves the cursor (a circle) over a box, as it gets near/over the box it scales up, and scales back down as it is moved away from the box.

10
PlayMaker Help / Rotate action ignores time scale?
« on: August 07, 2016, 06:13:01 AM »
I'm nearing completion on a game and implementing a pause feature using timescale set to 0. It works on 99% of the game/all of my FSMs except for one place where I use the Rotate action. This seems to ignore time scale and continues when it's set to 0. I just have "every frame" checked, however it respects time-scale if I check "per second", but I don't know how to convert what I was doing before, in values, to be identical to the "per second" version of the same rotation.

Is this how Rotate is supposed to work? To ignore time scale?

11
PlayMaker Help / Set Material Color not resetting on exit
« on: July 22, 2016, 02:59:55 PM »
Hi, I need to control every instance a certain material is used. So, I dragged the material from the *project* window into the Set Material Color action. It works great when I play it, the only thing is that Unity remembers the color change/doesn't reset the color after exiting out of Play mode. Is this possible?

12
Events triggered by a mouse click do not work in the build, but they (sometimes) work if I run the build while in Play mode.

- OS X 10.11.2
- Unity 5.3.5
- Playmaker 1.8.1

PS this has already been brought up in a thread http://hutonggames.com/playmakerforum/index.php?topic=13128.0, but I wanted to put it in the official bugs section. The "solve" in the thread feels like a hack and it's a bit scary for something as major as all mouse events. And it doesn't always work.

13
Normally when I select an object in the Unity Hierarchy, the Playmaker editor window updates to show the FSM on the selected object. This is now breaking so it just gets stuck on the current FSM after a few minutes of opening Unity. It's as if "Lock" is selected, but it's not. If I close the docked Playmaker editor and reopen it, it behaves normally for a few minutes then gets stuck again. When it's stuck, the only way I can access an object's FSM is by clicking "Edit" within the Playmaker component of an object.

I'm running Unity 5.3.5f1 and Playmaker 1.8.1.f10


14
PlayMaker Help / Mouse drag to rotate entire scene?
« on: June 20, 2016, 06:35:54 AM »
Hi, I have a 3D scene I want the camera to rotate around on only the Y axis. I have a null at the center of the scene as the parent of the camera. By manually rotating the null on its Y axis, I get the effect I want. But I don't know how to do this via a mouse drag with inertia.

I did search the forums and found posts related to mouse dragging, but I couldn't figure out how to apply any to this exact case. Curious if anyone has any thoughts about best practices here.

15
iOS Help / How to detect PC vs iPad?
« on: June 13, 2016, 06:42:00 AM »
Hi, is there a way to detect if the current device is a PC or an iPad? For example, if a user is using a PC I would want a mouseOver to send an event, however if it's an iPad I'd want that same event sent by a screen tap (since you can't really mouseover on ipad).

Thanks and sorry if I'm missing something obvious. I searched but couldn't find anything.

Pages: [1] 2 3