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 ... 217 218 [219] 220 221 ... 228
Playmaker Help / Re: State Labels incorrectly displaying
« on: April 23, 2011, 06:26:15 PM »
The state label code checks for a MeshRenderer component (bad/old assumption on my part). I fixed it for the next update. In the meantime you could add a MeshRenderer component to the top level game object (and disable it?) to draw the state labels over the objects.

Let me know if that works...

Playmaker Help / Re: State Labels incorrectly displaying
« on: April 23, 2011, 05:58:31 PM »
Can you post a screenshot of the scene hierarchy, highlighting the objects with FSMs?

General Discussion / Re: Animation graph
« on: April 23, 2011, 12:30:26 PM »
Hi Diego,

1. Yes. You can extend the graph by adding more events and states. The FSM framework keeps things organized and clean.
2. Short answer is it depends on the game. Longer answer on the FAQ:
3. Yes. You can use triggers, timers, logic etc. and camera actions:
4. There's a lot of discussion on the unity forums about this. To summarize, Playmaker offers a higher level state machine framework that makes it easier to build interesting interactive behaviors. Many game systems are well suited to FSMs, and Playmaker is the best visual state editor available for Unity, with workflow specifically designed for developing state machines. But it's also not necessarily an either/or - you can use Playmaker FSMs with universe, or even write custom Playmaker actions with uScript.

Playmaker Help / Re: Duplicate variable - unable to delete
« on: April 23, 2011, 12:10:52 PM »
Thanks! Will get a fix into the next update...

Playmaker Tutorials / Using GUI Sliders and Buttons
« on: April 22, 2011, 01:44:10 AM »
Video tutorial showing how to use GUI Sliders and Buttons: (720p recommended):

Playmaker Tutorials / Using Mouse Pick
« on: April 22, 2011, 12:14:00 AM »
Video tutorial showing how to use Mouse Pick: (720p recommended):

Playmaker Help / Re: Prefabs (create object)
« on: April 22, 2011, 12:12:56 AM »
So the bullet prefab has an FSM with a Destroy Self action? And it successfully destroys itself? Trying to picture the setup... do you get the error with the editor closed? If possible, can you send me the scene?

Playmaker Help / Re: Firing Events : Best Practices
« on: April 22, 2011, 12:07:47 AM »
I used global transitions in the Animation Graph partly out of habit from using Havok Behavior. The animation graphs we built in HB often had top level states with global transitions (wildcards in HB) so the character would remain responsive in any state. In animation graph you'll generally have a mix of local and global transitions. For example, an animation graph might have local transitions to build nice sequences of animations, but a global transition to a Ragdoll Death State that can be instantly entered from any state.

It's a trade-off really - global transitions are convenient, but you lose some ability to react specifically based on the current state - you just jump to the new state. It's functionally equivalent to adding a local transition from every state to the new state - it's convenient, but you can't now decide that one state needs a different reaction to that event (although that would be a nice feature!).

I don't know if there are any hard and fast rules. As long as you understand how they work they just give you more flexibility in how you work. I think over time it would be nice to collect some examples on the Community Wiki...

Playmaker Help / Re: Install Playmaker
« on: April 21, 2011, 04:42:59 PM »
You shouldn't need to make a prefab - just select the assets and export a unitypackage (with include dependencies).

Playmaker Help / Re: Vector3 test?
« on: April 21, 2011, 12:54:59 PM »
Sounds great!

Playmaker Help / Re: game object list does not show Objects in scene
« on: April 21, 2011, 12:52:48 PM »
This is the default behavior of an Object Field in Unity - it only shows assets, and you have to drag and drop scene objects onto the field. Apparently there's an API update in Unity 3.3 that should let an object field picker show scene objects, but I haven't found it yet... Hopefully we can get this into the next update.

Playmaker Help / Re: Install Playmaker
« on: April 21, 2011, 12:42:30 PM »
Sometimes Unity doesn't update the menu bar until you click it, or even restart Unity. Don't move the files around, because they won't update properly when you import an update from the asset store!

Playmaker Tutorials / Controlling an Animation Graph
« on: April 20, 2011, 03:30:21 PM »
Video tutorial showing how to control the animation graph built in the previous tutorial: (720p recommended):

Share New Actions / Re: Random Int "Fix"
« on: April 20, 2011, 03:23:02 PM »
Maybe this should be an option on the action (E.g., an Inclusive check box).

The original behavior is useful when the int is a zero based index. E.g., Random Int using Get Child Count and then Get Child Num. With the new behavior, you'd have to make sure to subtract 1 from the child count...

Forum Suggestions / Re: Action Updates Section
« on: April 19, 2011, 11:50:27 PM »
We use the fogbugz OnDemand service for Playmaker version control (uses mercurial). They recently added public repositories, so I'll look into setting up a public repository for actions...

Pages: 1 ... 217 218 [219] 220 221 ... 228