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

Pages: [1]
1
PlayMaker Help / Re: Animating view bob and weapon sway
« on: October 12, 2019, 01:27:12 PM »
You could animate the camera with an animation controller, and mechanim states.

Thanks! That was going to be my initial go to, but thought there might be easier way without creating canned animations?

Maybe lerping between 2 variables using a playmaker action? I’m just not sure how to set it up.

2
PlayMaker Help / Animating view bob and weapon sway
« on: October 09, 2019, 12:01:54 PM »
Hi all,

Looking for a simple way to animate a simple weapon sway and view bob using Playmaker, but am pretty stumped with where to begin! Unsure if this should be an animation that is triggered to move the weapon back and forth when the player moves, or if there’s a quicker way to add a curve to move the weapon instead

I’m not sure what the normal way of doing this kind of movement is within unity or whether a spring arm can do this instead?

Any ideas are very welcome!  :D

3
General Discussion / Re: Why itween remove from playmaker?
« on: October 10, 2018, 05:24:37 AM »
What kind of issues were you having with itween? I used it quite a bit with Playmaker and had some problems with adding/subtracting variables for movement distance but it was more than likely me doing it wrong! :)

I’ll check out hotween/ dotween. How are the 2 related btw? Are they different tween addons?

4
General Discussion / Re: Why itween remove from playmaker?
« on: October 10, 2018, 01:27:56 AM »
Sorry for the bump on this thread Jean, but are you saying there’s going to be some official playmaker tween function in the next release?

I have some movements that I was using itween for before, but would use the new tween functions if they’re coming before I get too deep in development.

Thanks!

5
PlayMaker Help / Weapon sway
« on: January 16, 2018, 07:09:11 AM »
Hi all,

So I'm looking to add a weapon to a first person character I have set up already. It will be parented to my player capsule, which I also have the camera attached to. What I'm looking to achieve is to have some lag with the weapon so there is a slight delay when I turn and it catches up to simulate arm/weapon sway.

Any ideas the best way to do this?

Thanks in advance!

6
PlayMaker Help / Re: itween actions for door movement
« on: January 25, 2017, 02:41:34 PM »
Sorry to bump this thread but thought it relevant and easier than posting a new one as it is door related still..

Right. so I've got a second door that opens via a button that you can hover over (material changes) and use once in range.

My issue is that I've used a 'trigger exit' event to go back to the original state once the player has moved away - except it doesn't seem to fire and I can't tell why? The door just remains open and it stays in the 'Door open' state.

Is it possibly to do with only using a trigger exit with no trigger enter event? Or do I need to link the transition event to the specific trigger volume I'm using?

Sure it's something simple I'm missing again! :)


7
PlayMaker Help / Re: itween actions for door movement
« on: January 08, 2017, 12:52:16 PM »
Sorted out the origin coords for parent and child objects and they seem to be working with the trigger method now! Had a couple of other issues with getting stuck in the doorway but that was probuilder related.

Had a look at the action you used and realised it's a custom one you had created after a little googling ;) Looks like a good action to have in the arsenal though!

Thanks for all the help terri, sure I'll be back in here pretty soon with more queries!

8
PlayMaker Help / Re: itween actions for door movement
« on: January 08, 2017, 11:39:25 AM »
Ah terri that looks perfect! Thanks for the example.

As a playmaker newbie I didn't realise there was even an action to compare distance of something and trigger and action based on it.. hence me using triggers for everything.

Funnily enough I've tried to mimic what you created but using my trigger volume but the door still flies off as the game starts.. My setup uses an FSM on the trigger volume, but I'm now using an empty game object (DOOR_PARENT) like you have, and offsetting the door position from it - or attempting to. Is it likely not working for me because of the world position of my DOOR_PARENT and door? Should they both be 0,0,0 or something? I'm not overly familiar with how Unity prefers things to be setup. Image of mine below..

http://i.imgur.com/0BqnKIZ.jpg

Knowing now that I don't need to bother with triggers for this at all makes things a lot easier and will drastically reduce the amount of world objects I'll likely need!


9
PlayMaker Help / Re: itween actions for door movement
« on: January 08, 2017, 05:11:34 AM »
Hi terri, yeah I actually tried that last night and created an object in the same size and location as the door to be used as an offset but got an even stranger behaviour as the door initially opened correctly, and then moved backwards partly, not returning to its original location.

Might have a play around with the path movement, or just set up waypoints again for it to move to or I'll have to just set it up as an animation as djaydino suggested as not getting far with this way  :)

10
PlayMaker Help / Re: itween actions for door movement
« on: January 07, 2017, 04:29:23 PM »
It is the simplest thing!
There has to be some detail that is being overlooked.

Did you remove the gameobject from the transform position like I mentioned earlier?

I agree with djaydino that other options are better, but this totally works if setup right.

Oh I don't doubt that there's something I've overlooked and it is a simple thing, but just can't figure out a decent solution :) As mentioned, I've had it working, but not a fool proof door that I can't 'break' by messing about in the trigger with.

As for the gameobject in the transform position field - I was only using this because the tooltip on the vector position field says the below..



When I remove this I'm sure I get it flying off to world coords 0,0,0 instead of an offset of itself.

11
PlayMaker Help / Re: itween actions for door movement
« on: January 06, 2017, 04:20:17 PM »
Checked I was using all the right actions (both MoveTo). I'd copied the action from one state to the other so they were identical apart from the movement vectors. Also tried setting up the closed state as 0,0,0 but as suspected it moved to 0,0,0 from it's new position, so didn't actually go anywhere! :(

As mentioned, thought this would be one of the simplest things I could do in Playmaker but is causing me no end of grief! If you've got any other suggestions on how to achieve it please let me know - appreciating the assistance!

12
PlayMaker Help / Re: itween actions for door movement
« on: January 06, 2017, 06:41:55 AM »
Fair point terri! I think I initially had it set up as 0,0,0 anyway but will try again when I get home.

My biggest issue still seems to be that I can leave the trigger volume and re-enter it and progressively push the door further and further away from its initial location and not sure why. Should I be using 'finished' rather than 'trigger exit' in my transitions or something, and link back to a listener type state to check if player is still in trigger volume?

13
PlayMaker Help / Re: itween actions for door movement
« on: January 06, 2017, 04:24:30 AM »
My close state sets it to 0,0,1.75, as setting it to 0,0,0 of it's new relative position I assume would move it nowhere, as opposed to back to it's original starting position. That's why I have a starting state before it's triggered initially, so that it doesn't start at moving by 1.75, if that makes sense?

14
PlayMaker Help / Re: itween actions for door movement
« on: January 05, 2017, 03:41:27 PM »
Hi terri,

Thanks for the reply. That's pretty much what I've been doing but I'm using triggers to activate the door, a wait state for the door to finish opening and then return to the closing/closed state.

My issue with this method is that no matter what state I'm in, if I quickly move in and out of the trigger volume it jumps straight to door open/opening and adds this movement onto the door's current position so I basically end up with the door slid right off somewhere.

As per the screenshot below, my door is using itself as the transform position and moving 1.75 from its position.. I can see what the issue is with it getting/setting the movement based on its current location but don't know how to get around this. Should I be using variables to detect player range rather than trigger volumes or something??



15
PlayMaker Help / itween actions for door movement
« on: January 03, 2017, 02:08:29 PM »
Hi all,

First post here so expect plenty of noob questions to follow!

I've been trying for a long time to make a basic action to move a door shaped cube via a trigger using itween actions. I've tried a variety of different options with 'move by' and 'move to' but can't seem to find what I thought would be a simple solution.

I can get the door to open fine but biggest issues using 'move by' is re-triggering the door if I leave and re-enter the trigger before it's back in its initial location which then triggers the door to move even further from it's starting place.. I've tried using 'wait' states to allow the door to reset, but then if the player is in the way of the door it ignores that and I get crushed!

Current solution is using 'move to' and having additional invisible brushes as waypoints which just seems like overkill, especially when I start using multiple pieces of door and am triggering them to go left and right respectively.

I know I should probably just be using an animation for the door but was hoping itween could provide a quick fix at least! What am I doing wrong?!  :-[


Pages: [1]