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

Pages: [1] 2 3 ... 7
I am making a 2d game with multiple local players and I need an action to track all players tagged as player.. The action mentioned in the title works exactly the way I need it too except I need a sensitivity option because my Ai bounces at the edge of the screen sometimes and it makes the camera bounce too. I just need  there to be a buffer of some kind where the camera doesn’t bounce or at least not as much.. Any help would be very appreciated. Thanks!

Playmaker Help / Re: Look At 2d but Direction instead of GameObject?
« on: September 14, 2018, 04:40:08 PM »
Nevermind I figured it out. I used a dummy parent game object and manipulated that with the smooth look at direction which I did before but apperently not the right way. For 2D I had to change the child object’s rotation to be 270 in the X, 0 in the Y and 180 in the Z.

Playmaker Help / Re: Look At 2d but Direction instead of GameObject?
« on: September 14, 2018, 07:44:39 AM »
Hi Jean,

I am getting the direction from the “Get axis vector” action. I just need to feed that direction into a “look at” action some how so my arrow sprite will point that way. The problem I am having isn’t getting the direction, it’s that I can’t figure out how to get the look at to work properly.

Playmaker Help / [Solved] Look At 2d but Direction instead of GameObject?
« on: September 13, 2018, 12:29:39 PM »

I am trying to get my 2d sprite to look at a direction, but it won't work properly. The lookat 2d action works but I need to to look at a Vector 2 direction instead of just a V2 point in space. Any ideas? I tried smooth look at direction but the sprite keeps flipping around the wrong way not matter what up vector I have.


Playmaker Help / Re: Get Component's Owner?
« on: September 11, 2018, 10:07:19 PM »
Awesome thanks again as always Jean!

Playmaker Help / Get Component's Owner?[SOLVED]
« on: August 21, 2018, 04:22:44 PM »
Hello Playmaker Community,

I am wondering if there is a way to get a gameObject value from a component's value.

Here is my situation:

I am using get property to grab a property of a third party script. The value I am grabbing returns a "object" value. How can I get the gameObject that the value is associated with? The objects value is a component on a gameObject created at runtime. Does that make sense to anybody? haha

I have a custom action started but it wont save the object value:

Code: [Select]
using UnityEngine;

namespace HutongGames.PlayMaker.Actions

[Tooltip("Gets the owner gameobject of a component")]
public class GetComponentOwner : FsmStateAction
        public FsmObject componentToUse;

        public FsmGameObject storeGameObject;

        public override void Reset()
            componentToUse = null;
            storeGameObject = null;

        // Code that runs on entering the state.
        public override void OnEnter()


        public void DoGetComponentOwner()
            storeGameObject.Value = componentToUse.Value as GameObject;



Thanks for any suggestions!

Playmaker Help / Re: Particle Collision
« on: April 12, 2018, 12:26:45 AM »
Figures I would post that and then I get it to compile but I still can't get it to pass the event data. I will keep working with it though.

Edit*** And then after I posted this I got it to work with the new updated code, so never mind... ;D

Playmaker Help / Re: Particle Collision
« on: April 12, 2018, 12:11:44 AM »
I did look at it but it says to change it to a list and I am not very familiar with lists. I tried changing it but the things i tried didn’t work.

Playmaker Help / Re: Particle Collision
« on: April 11, 2018, 10:37:08 PM »
I can't get this script to work. I am also trying to do this in 2d if that makes a difference(which it probably does). Also in visual studio when I took a look at the script it said a line was deprecated, but I'm not sure how to update it. Anyone available to take a look? I am ultimately trying to get the point of contact from the particle collisions to spawn something there.

Playmaker Help / Re: Blendshapes and Playmaker Problem
« on: March 05, 2018, 02:40:43 AM »
Hi Jean,

I’m not using get or set property at all. I know you are very busy and since I found a workaround I don’t think it is necessary to send a repro. Unless it will benefit the playmaker community I am ok with the work around. Thanks though! :)

Playmaker Help / Re: Blendshapes and Playmaker Problem
« on: February 19, 2018, 10:54:34 PM »
They work totally ok in the editor but when I try to access them from playmaker they don’t work. I ended up just making them work as an animation clip. I believe the animator is somehow overriding the blendshapes when trying to use both together.

Playmaker Help / Blendshapes and Playmaker Problem[SOLVED]
« on: February 17, 2018, 12:36:27 AM »

I am using the blendshape actions on the ecosystem and I have a Fsm where it randomly picks a state with a "animate float" action and a "set blendshape weight" action. The float variable will increase and the blend shape field will change. The problem is I have three sets of states, one for happy, one for scared, and one for excited,and only the happy one works as expected. The other two start off well but as soon as it exits the state after the animate float finishes their weights reset.

Also on a side note the two blendshapes that don't work properly, don't work at all unless my animator component is on "animate physics".

Anybody know whats going on?

Unity 2017.2
Playmaker 1.8.9

I think I remember seeing something about that as well, but everything works fine minus this rare crash. Although on the asset store it says everything from 4.6 and up but that could just be previous versions I guess. It did allow me to update it though through the asset store so I am wondering if that may not be true?

Thanks for the replies guys,

The version of Unity is 5.1.5f1
Prior to the update the version of Playmaker I cant remember but it was I believe 1.7 or something. Now it's 1.8.5f8

I didn't update Unity and there are not any warnings or errors normally, but I can't seem to get it to happen in the editor.

I do have a few backups but I updated a about a month ago and that backup with the previous version of playmaker no longer exists.


I updated to the newest version of Playmaker and am now getting random crashes in my game. The crash logs are almost always the same, but I can't replicate it in the editor. I have attached a picture of a crash log from xcode, if anyone has any idea let me know. I already emailed the master audio developer but he said they don't have any coroutines in their asset. I thought it was worth a shot since their asset appeared in the log. I believe its something to do with Playmaker as that's the only other asset mentioned with FSMs.

Pages: [1] 2 3 ... 7