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 - Alex Chouls

Pages: 1 ... 231 232 [233] 234 235 ... 239
You could store the offsets from Get Axis Vector and then use Float Compare:

However this seems like a common enough use case that it deserves its own action.

So I posted one here:

Let me know how it works for you...

Sends events based on the direction of input axes:

Download and place in Assets/PlayMaker/Actions/

PlayMaker Tutorials / Re: A simple third person controller
« on: April 15, 2011, 06:32:11 PM »
Good catch! That's actually a bug in the action. I've posted a bug fix:

Official Action Updates / Smooth Look At Direction (bug fix)
« on: April 15, 2011, 06:30:31 PM »
Fixes a bug where the previous rotation was old on state change (as seen in the third person controller screencast).

Download and replace SmoothLookAtDirection.cs in Assets/PlayMaker/Actions/

PlayMaker Bug Reporting / Re: Debug Log
« on: April 15, 2011, 04:58:53 PM »
Not a problem! Confusing behavior in a tool is a bug of sorts... i.e., something we need to fix.

PlayMaker Help / A note about [SOLVED]
« on: April 15, 2011, 04:39:38 PM »
As we think questions have been answered or problems addressed, we add a [SOLVED] note to the topic title. This helps us keep track of open issues. However, if you feel like an issue hasn't been adequately addressed, please feel free to delete [solved] and let us know!

Also if you feel like adding [SOLVED] yourself when you're happy with the response, that would be great too!

EDIT: One more thing, if you encounter a similar issue to a [SOLVED] thread, please start a new topic with a link to the related thread, since we might not check the [SOLVED] thread.


SM2 and EZGUI look awesome. Just so you know, Playmaker does optimize OnGUI with version 1.1. In Unity there seems to be a setup cost to calling OnGUI, so the cost increases with the number of objects using OnGUI. The PlayMakerGUI component centralizes all Playmaker OnGUI calls under one OnGUI call - so it's a LOT cheaper with lots of objects.

PlayMakerGUI also lets you preview GUI actions at edit time, without running the game. This can be very helpful for simple UI screens or mockups. But for more complex UI, a dedicated UI tool is probably the way to go... Anyway, give the Playmaker actions a try if you have time - I'm interested in feedback.

PlayMaker Help / Re: [solved] Refire?
« on: April 15, 2011, 04:22:52 PM »
You're welcome! Unfortunately not a wizard - just getting older with more grey hair every year :-\

PlayMaker Help / Re: Get Axis & Get Axis Vetor not working?
« on: April 15, 2011, 04:10:15 PM »
Yeah, it definitely helps to understand how Unity does things. I try to respect how Unity works, so if you're already familiar with it things "just work" the way you'd expect. I want to make more training videos that show how to use Playmaker while also introducing Unity concepts. I think that will help. 

PlayMaker Help / Re: Move objects on screen axes
« on: April 15, 2011, 03:59:50 PM »
Screen To World Point is good for placing a game object on an imaginary plane in front of the camera (e.g. HUD, picked up objects...)

To place an object in the world you probably want one of the ray casting actions (MousePick, ScreenPick, RayCast...).

Have you looked at PlayMakerSamples/TestLab/Input/MouseClickToDrag? Is that something like what you want to do?

PlayMaker Help / Re: Network using PlayMaker?
« on: April 15, 2011, 03:52:27 PM »
There are no built-in actions/events for networking yet. We have users who've written custom actions to do this. We'll try to get this into an update soon - it's a popular request!

PlayMaker Help / Re: How to store camera positions?
« on: April 15, 2011, 03:50:13 PM »
It seems like you can do most of that in the Unity scene editor already... just set up the cameras and save them with the scene. Or are you looking for a runtime control panel to switch between cameras? It wouldn't surprise me if someone in the Unity community hasn't made that already...

PlayMaker Tutorials / Using Templates
« on: April 15, 2011, 03:33:51 PM »
Here's a quick video to show how to save/load templates (I recommend 720p):

Of course you can also just Copy/Paste FSMs directly, but a library of saved templates can be very useful.
You can also make templates from a selection of states (like saving code snippets).

PlayMaker Tutorials / A simple third person controller
« on: April 14, 2011, 09:32:01 PM »
I recommend watching at 720p...

PlayMaker Bug Reporting / Re: Debug Log
« on: April 14, 2011, 02:40:42 PM »
Do you have Forward Playmaker Log to Unity Log checked in Preferences?

By default Info only goes to the Playmaker Log Window (under Debug menu). This is to avoid spamming the Unity Log window with FSM events etc. The Playmaker Log Window filters by FSM so it's easier to examine each FSMs transitions.

I could add a checkbox to the Debug actions so you can specify this per Debug action...

Pages: 1 ... 231 232 [233] 234 235 ... 239