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.


Messages - MajorIdea

Pages: [1] 2 3 ... 9
1
PlayMaker Help / Re: "Smooth Look At Direction" with FixedUpdate?
« on: May 15, 2019, 10:12:28 AM »
I'd love such an action but I'm not sure if it would work well. Seems like you'd still be mixing physics with transform and that's usually a no no.

Not sure if this will work for you but what I usually do is use a Transform.Point of 0,0,0.5 for example (a point just ahead of the player) and use that vector in the "At Position" field in AddForce. This basically makes the player face in the movement direction. Adjust the Angular Drag in the rigidbody component to try and make it as snappy as you can.

Hope that helps.

2
Action Requests / GetParent with EveryFrame[SOLVED]
« on: May 15, 2019, 09:57:38 AM »
Hi,

I'm doing a Raycast that stores the Hit Object and need to get the forward vector of it's parent. The problem is it I can't get out of the state.

There seems to be no way to do a Get Parent more than once inside a state.

I've looked in the ecosystem and tried to edit the script with no success.

Would such an action be possible / a good idea?

3
PlayMaker Help / Re: GetAxisVector "Relative To" Manually [SOLVED]
« on: May 01, 2019, 10:42:21 AM »
Managed to do it. Here's the solution :)


4
PlayMaker Help / GetAxisVector "Relative To" Manually [SOLVED]
« on: April 28, 2019, 10:59:40 AM »
Hi all,

I've been using the GetAxisVector relative to camera and it's a fantastic action but Rewired doesn't have a similar one so I need to do it manually.

Everywhere I look it's said to be a simple operation using the camera's Transform Direction but I'm struggling to recreate the solutions I've found with Playmaker actions!

Any help would be greatly appreciated!

5
That's the latest. Been using it with the latest version of unity with no real issues.

6
PlayMaker Help / Re: Cinemachine Package Errors
« on: September 24, 2018, 02:01:48 PM »
Yep. Had to comment a bit more but I can now use the package. Hope its nothing important xD

Code: [Select]
_brain = this.GetComponent<CinemachineBrain> ();
                if (_brain != null) {
                    _brain.m_CameraActivatedEvent.AddListener(HandleCameraActivatedAction);
                    _brain.m_CameraCutEvent.AddListener(HandleCameraCutEventAction);
                }

7
PlayMaker Help / Re: Cinemachine Package Errors
« on: September 21, 2018, 09:53:25 AM »
Still not working :\



Not sure what you mean by "but you need to switch it accordingly to your unity version"

I'm using the Cinemachine Package Manager version 2.2.7 and the Ecosystem Playmaker Cinemachine actions v1.2.3


8
PlayMaker Help / Re: Cinemachine Package Errors
« on: September 21, 2018, 09:31:25 AM »
Thanks Jean,

When I got the error with the Package Manager version I came here and seeing the answers switched to the asset store version (version 2.1.10).

I'll switch back to the newer one and see if I can make it work :)

9
PlayMaker Help / Cinemachine Package Errors [SOLVED]
« on: September 20, 2018, 08:07:44 AM »
Hi, I've been trying to get cinemachine to work with Playmaker and looking at other threads I understand there's no support yet for the new version in the package manager, so we should use the asset store version.

According to the other threads that seems to be the answer but it's not working.

I'm using the latest Unity 2018.2.8f1 and I wonder if that's the issue since the Playmaker 1.9.0p4 has no 2018 version (never been an issue before).



Any ideas?
Thanks

10
The only way I can think of it happening is if you have an FSM open with a ton of states which just naturally slows down the editor. I usually try to break big FSMs into smaller ones for this reason and because its usually better for organization imo. If they're a bunch of small FSMs I dont see why it's happening.

Although maybe you're using OnTriggerStay? That could slow things down since it's pretty expensive.

11
PlayMaker Help / Re: Aligning Direction Vectors
« on: July 13, 2018, 07:24:57 AM »
Man, I thought that would totally work. It's a great idea but it seems that wont work with a action using Forwards (like QuaternionLookRotation or SmoothLookAtDirection).

I can swap and invert the values and have it change it's behaviour but it doesn't seem to change the fact that it's using Forwards.



It's not easy to see but even swapping the Y and Z values, the blue forward vector is still the one mirroring the circular motion of the Up green vector on the right box.  ???

12
PlayMaker Help / Re: Aligning Direction Vectors
« on: July 12, 2018, 01:22:29 PM »
Quaternion Look Rotation seems to give better results (Creates a rotation that looks along forward with the the head upwards along upwards.) but it seems there's no way of using anything but the forward.

Changing the Up Vector seems like it should do the trick but nothing.



Is there an operation that can be made to use the up vector instead of forward or is that outside of what can be made with existing playmaker actions?

13
PlayMaker Help / Re: is it safe to use \ or / in fsm variable names?
« on: July 12, 2018, 11:55:23 AM »
Yep, I use it often to make things better organized.

14
PlayMaker Help / Aligning Direction Vectors
« on: July 12, 2018, 11:09:39 AM »
I'm trying to make the Up direction on the left box mirror the up direction of the right.



It's not about mirroring the rotation transform (would just use a get/set rotation) but aligning the direction so this can be used to align the box with any direction (like a surface normal)

Quaternion.FromToRotation seems to be the thing to use  and I think I'm using the playmaker equivalent https://hutonggames.fogbugz.com/default.asp?W1330 but its not working.

Any ideas?

15
Sure: https://imgur.com/pInqWe3

That was the screenshot of the layout when it was working, but after changing reverting to unitys default and replicating it was broken again. It does that a lot. Starts and stops for no reason I can find.

I do use a Get Axis Vector in one of the FSMs

Windows 10

Pages: [1] 2 3 ... 9