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

Pages: [1] 2 3
Playmaker Help / Re: Getting what direction Navmesh Agent is turning?
« on: August 27, 2018, 10:19:49 PM »
Bump :)

Playmaker Help / Getting what direction Navmesh Agent is turning?
« on: August 13, 2018, 11:49:30 PM »
Looking to trigger a "left" and "right animation depending on what direction the Navmesh Agent is turning. Is there an action or technique to determine this?

Thanks in advance!

I have a little character in a rowboat. The game is a simple click-to-move game using a NavMesh agent for the boat.

If I make 3 animations:

1. row left
2. row right
3. row both

Could I set it up so that when the boat is rotating right, the row left animation is playing, when rotating left, the row right animation is playing, and when moving forward, the row both animation is playing?

Thanks in advance!

I only get this error when I try to make a WebGL build. Playing the game in the editor does not produce this error.

Latest - Playmaker 1.8.9.  I had just updated from 1.6.

I seem to have those lines.

I also have "preprocess" warning preventing my builds from going through as well.

With your suggestion above, about downloading custom actions again, how can you filter by actions that you have downloaded in the ecosystem? I have so many that I have no idea how to re-find them.

Hey Jean!

I am using the Pathfinding package from Ecosystem to drive the NavMesh Agent to Destination.

I will also ask on the Unity forums :)

Playmaker Help / Jerky movment with NavMesh and Cinemachine Follow Camera
« on: December 10, 2017, 02:12:19 PM »
This is always a problem for me with any kind of movement system. I recently converted my RTS style click-to-move boat to use NavMesh and a Nav Agent and I'm experiencing it again.

With a Cinemachine Camera setup to follow my boat, there is jerkyness when the camera tries to follow the boat when it's moving.  I know this is a FixedUpdate / Update / LateUpdate issue (as it always is) but I really don't have any options that would allow me to fix this it seams.

The setup is as follows :

  • Parent master Game Object for the boat has the Nav Agent on it and a Box Collider.
    Child of that parent has the mesh of the boat on it.
    Child of that mesh has a projectile on it that is a RigidBody that can shoot when triggered.

So I know it has something to do with the fact that my entire hierarchy is not a RigidBody except that one projectile that is tagging along. The camera follow and the NavMesh must be getting confused.

Any help would be appreciated!

Oh, I should mention - the slingshot is able to move around the world (it does not just stay at 0,0,0)

Hey tcmeric,

So I have had some success with your methods, but I am finding it difficult to place a reticule marker on the location that my projectile will land.

The reason for this is that I am using a "pull back" mechanic to launch a projectile like a sling shot. So I use the Direction Between Game Objects of the SLINGSHOT and my MOUSE POSITION, and then that direction is used INVERSELY to add a FORCE to the projectile. This means that I am not using a VECTOR POSITION to launch my projectile to, but a VECTOR DIRECTION to apply force to it.

My problem is that I cannot place a visual object at the location the projectile will land (green dot in image) because I do not have that location, just a direction in which the projectile is flying.

Ping! :)

Playmaker Help / Re: Moving a Rigid Body to a Specific Location?
« on: December 09, 2017, 10:23:25 PM »
This looks like it might be exactly what I need! Thanks so much.

I think he means he would like to control exposed FSM variables with the new Unity Timeline, which is what I'm trying to do as well.

For example, exposed color variable that you could animate in Timeline.

Thanks guys! Just looked up Collab support here and found this. Thanks for keeping us in the loop. We have been using github and Sourcetree with Unity for our source control for over a year now, but that still doesn't really allow two people to edit the same files together.

Hoping for Collab support sometime in the new year :)

Playmaker Help / Moving a Rigid Body to a Specific Location? [SOLVED]
« on: November 27, 2017, 09:37:07 PM »
I have a boat object on water and an RTS camera view. I would like to move the boat around the lake by clicking the destination. The boat should rotate to destination and move to destination smoothly.

I am having trouble doing this with regular Move To and Look At actions, as I feel they don't provide me the control I need in terms of getting to the destination at a speed that is based on how far away the click was.

I was thinking treating the boat as a Rigid Body would help, I just don't know how to get a rigid body to look at/move to a specific location.

Pages: [1] 2 3