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 4 ... 8
Playmaker Help / Re: What options are there for 2d navigation systems?
« on: October 10, 2018, 08:01:53 AM »
Hi Thore,

I can’t seem to find any information about 2d navmesh on the Unity docs. I saw some posts on the forum about it but from what I can’t tell it’s not officially supported and to get it to work it’s a pretty big work around.

Playmaker Help / What options are there for 2d navigation systems?
« on: October 09, 2018, 07:29:27 PM »
I am using polynav right now but I am having trouble with it. I am communicating with the author but just in case it doesn’t suit my needs for my game is there any other playmaker friendly 2d navigation assets? I saw a* navigation on the asset store, but from what I have seen the playmaker actions aren’t being updated for that one. Any suggestions? I need something that isn’t point to point or steering type of things. I need to have it able to build at runtime too because I have a dungeon generator that builds a dungeon at start.

I can’t send it to you because the AI steering system is something I purchased on the asset store. But I did reduce the amount of erratic movement significantly by changing some settings on the rig. I think this will work for me for now. Also that AI is a support character not an enemy, which is why the camera follows it too. Thanks for taking the time to help me, but I think this is pretty much solved for now in my situation.

It's easier to make a video:

So my camera just has the one action mentioned in the original post. You can see the camera is bouncing when the AI is moving erratically. I just want to reduce the movement amount of the camera when this is happening.

Hi djaydino,

I’m not sure how else to explain. I will post a video sometime later if I can’t describe it any better.

So I have two players on screen at once(one is an AI). The AI has a steering rig for avoidance and it works great but sometimes (rarely)  the AI gets stuck or confused and goes back and forth over a small distance to try and catch up with the player. The AI getting stuck isn’t the real problem, as I came up with a way to solve that that works for me and my game. The problem is while the AI is trying to sort out how to regroup with the player and is going back and forth,  the camera is constantly zooming in and out because the targets (the players characters) for the tracking action are getting closer as further away because of the AI sorting out the path.

I just need some kind of sensitivity option so when the the players do have a bit of erratic movements the camera doesn’t zoom in and out so fast or often to keep track of them.

Please let me know if I explained it right or if I should do a short video on what is happening. And thank you for taking the time to look at my post!

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! :)

Pages: 1 [2] 3 4 ... 8